Updated test file CircularInstance to match new addData signature

This commit is contained in:
Slimfit
2015-04-11 11:27:24 -04:00
parent 262cd5c3fc
commit 8fa20fff1e

View File

@@ -301,12 +301,12 @@ var myPieChart = new Chart(ctx).Pie(pieData, {
var myPieChartLegend: string = myPieChart.generateLegend();
var myPieChartImage: string = myPieChart.toBase64Image();
myPieChart.addData([{
myPieChart.addData({
value: 120,
color: "#4D5360",
highlight: "#616774",
label: "Dark Grey"
}], 0);
}, 0);
myPieChart.clear();
myPieChart.removeData(0);
myPieChart.resize();