XYShapeRenderer « Renderer « JFreeChart Q&A





1. setting point size with XYShapeRenderer    jfree.org

Hi, I am using an XYShapeRenderer in an XYPlot with an XYZdataset. I would like to make the points smaller, so I tried calling setDefaultEntityRadius on my renderer with no change at all in the size of my points. I tried doing this both before and after applying the theme. I call getDefaultEntityRadius() before and after the set and I see ...

3. XYShapeRenderer Problem    jfree.org

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 ...