InvientCharts chart = new InvientCharts(chartConfig);
// Series 1
//
PieConfig pieCfg = new PieConfig();
pieCfg.setInnerSize(65);
pieCfg.setDataLabel(new PieDataLabel(false));
XYSeries series = new XYSeries("2008", SeriesType.PIE, pieCfg);
LinkedHashSet<DecimalPoint> points = new LinkedHashSet<DecimalPoint>();
points.add(getPointWithColor(series, "Firefox", 44.2, new RGB(69, 114,
167)));
points.add(getPointWithColor(series, "IE", 46.6, new RGB(170, 70, 67)));
points.add(getPointWithColor(series, "Chrome", 3.1, new RGB(137, 165,
78)));
points.add(getPointWithColor(series, "Safari", 2.7, new RGB(128, 105,
155)));
points.add(getPointWithColor(series, "Opera", 2.3, new RGB(128, 105,
155)));
points.add(getPointWithColor(series, "Mozilla", 0.4, new RGB(219, 132,
61)));
series.setSeriesPoints(points);
chart.addSeries(series);
// Series 1
pieCfg = new PieConfig();
pieCfg.setInnerSize(150);
pieCfg.setDataLabel(new PieDataLabel());
pieCfg.setColor(new RGB(0, 0, 0));
pieCfg.getDataLabel().setConnectorColor(new RGB(0, 0, 0));
series = new XYSeries("2010", SeriesType.PIE, pieCfg);
points = new LinkedHashSet<DecimalPoint>();