public ChartModel getChartModel(int segments) {
ChartModel cm = new ChartModel("Sales by Month 2007", "font-size: 14px; font-family: Verdana;");
cm.setBackgroundColour("-1");
XAxis xa = new XAxis();
for (String m : TestData.getMonths()) {
Label l = new Label(m, 45);
l.setSize(10);
l.setColour("#000000");
xa.addLabels(l);
}
xa.setGridColour("-1");
cm.setXAxis(xa);
YAxis ya = new YAxis();