Hi all, i facing the problem while using XYShapeRenderer. here is the code and error i facing. DefaultXYDataset set = new DefaultXYDataset(); set.addSeries("Values",new double[][]{{1,2,3.25,4,5},{10,15,8,37,23}}); NumberAxis xAxis = new NumberAxis("x Axis"); NumberAxis yAxis = new NumberAxis("y Axis"); XYPlot plot = new XYPlot(set, xAxis, yAxis, null); XYShapeRenderer r = new XYShapeRenderer(); r.setPlot(_plot); plot.setRenderer(r); r.setToolTipGenerator(new StandardXYToolTipGenerator()); _chart = new JFreeChart("Chart Title",JFreeChart.DEFAULT_TITLE_FONT,plot,true); _chart.removeLegend(); NumberAxis scaleAxis ...