// title
"Domain", "Range", dataset, // data
PlotOrientation.VERTICAL, true, // include legend
true, false);
updateSettings(chart,getChartInput.getChartConfig());
ChartOutput outPut = new ChartOutput();
outPut.setImage(getBufferedImage(chart, getChartInput
.getChartConfig()));
outPut.setSvg(getSVGImage(chart, getChartInput.getChartConfig()));
return outPut;
} catch (Exception e) {
throw new Error(e);
}