chart = ChartFactory.createTimeSeriesChart(computeTitle(), getDomainTitle(), getRangeTitle(), xyDataset,
isShowLegend(), false, false);
}
else
{
final PlotOrientation orientation = computePlotOrientation();
chart = ChartFactory.createXYLineChart(computeTitle(), getDomainTitle(), getRangeTitle(),
xyDataset, orientation, isShowLegend(), false, false);
}
configureLogarithmicAxis(chart.getXYPlot());
return chart;