use the new api in tempest results viewer

This commit is contained in:
Tim Buckley 2015-07-15 16:42:12 -06:00
parent 2989d56558
commit b2e036836f
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
.attr("transform", "translate(" + width / 2 + "," + (height / 2 + 10) + ")");
var partition = d3.layout.partition()
.value(function(d) { return d.size; });
.value(function(d) { return d.duration; });
var arc = d3.svg.arc()
.startAngle(function(d) { return Math.max(0, Math.min(2 * Math.PI, x(d.x))); })
@ -54,7 +54,7 @@
.innerRadius(function(d) { return Math.max(0, y(d.y)); })
.outerRadius(function(d) { return Math.max(0, y(d.y + d.dy)); });
d3.json("/static/logs.json", function(error, root) {
d3.json("/tempest/api/0/", function(error, root) {
if (error) throw error;
var path = svg.selectAll("path")