ChartProperties chartProperties = new ChartProperties();
AxisProperties axisProperties = new AxisProperties();
axisProperties.setYAxisRoundValuesToNearest(0);
LegendProperties legendProperties = new LegendProperties();
AxisChart axisChart = new AxisChart(dataSeries, chartProperties, axisProperties, legendProperties, 500, 350);
BufferedImage bufferedImage = new BufferedImage(500, 350, BufferedImage.TYPE_INT_RGB);
axisChart.setGraphics2D(bufferedImage.createGraphics());
axisChart.render();
super.setVariableValue("ChartImage", bufferedImage);
}
catch(ChartDataException chartDataException)
{