Your cookie preferences were saved
This pie chart is built using the same principles as the "Simple Bar Chart" example. The script function uses setBounds to set the size of the chart. Our "Amount" data is plotted as the "p" axis. The chart also includes a legend.
helper.registerCustomFieldFn("PIECHART","initChart",function(chart){ chart.setBounds(20, 20, 460, 360); chart.addMeasureAxis("p", "Amount"); chart.addSeries("Topping", dimple.plot.pie); chart.addLegend(5, 5, 90, 300, "left"); chart.draw();});
Share this page
Print