public XYLineChart(final String title, final String xAxisLabel, final String yAxisLabel, boolean isLogarithmicAxis) { super(title, xAxisLabel, yAxisLabel); this.isLogarithmicAxis = isLogarithmicAxis; this.dataset = new XYSeriesCollection(); this.chart = createChart(title, xAxisLabel, yAxisLabel, this.dataset); addDefaultFormatting(); }