Hi,
/*
* Purpose: Chart type and Most of the customization is defined using MSO in PPt slide.
* This class provides a way to dynamically populate data only.
*
*/
public class DrawChart {
// Draw any type of chart - Pie, Doughnut, Area, Bar
// Categories as defined in the template, Series =1
public static IChart drawChart(IChart chart, List dataPoints) {
for (int i = 0; i chart.getChartData().getCategories().size(); i++) {
chart.getChartData().getSeries().get_Item(0).getDataPoints().get_Item(i).getValue()
.setData(dataPoints.get(i));
}
return chart;
}
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px Monaco; color: #4e9072} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px Monaco} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px Monaco; min-height: 22.0px} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px Monaco; color: #931a68} span.s1 {color: #931a68} span.s2 {color: #000000} span.s3 {color: #7e504f} span.Apple-tab-span {white-space:pre}
}