Merge "Quota/limit graphs now work in IE"

This commit is contained in:
Jenkins 2013-10-08 22:28:18 +00:00 committed by Gerrit Code Review
commit ffced623c3

View File

@ -28,7 +28,7 @@ horizon.d3_pie_chart = {
self.chart = d3.selectAll(".d3_pie_chart");
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.pieChart(i);
}