Merge "Quota/limit graphs now work in IE"
This commit is contained in:
commit
ffced623c3
@ -28,7 +28,7 @@ horizon.d3_pie_chart = {
|
|||||||
self.chart = d3.selectAll(".d3_pie_chart");
|
self.chart = d3.selectAll(".d3_pie_chart");
|
||||||
|
|
||||||
for (var i = 0; i < pie_chart_data.length; i++) {
|
for (var i = 0; i < pie_chart_data.length; i++) {
|
||||||
used = parseInt(pie_chart_data[i].dataset.used);
|
used = parseInt($(pie_chart_data[i]).data("used"));
|
||||||
self.data = [{"percentage":used}, {"percentage":100 - used}];
|
self.data = [{"percentage":used}, {"percentage":100 - used}];
|
||||||
self.pieChart(i);
|
self.pieChart(i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user