XYShapeRenderer « Renderer « JFreeChart Q&A

Home
JFreeChart Q&A
1.Axis
2.BarChart
3.Chart
4.Color
5.Component
6.Dataset
7.Development
8.GanttChart
9.Graph
10.Image
11.Interoperability
12.Label
13.Layout
14.Legend
15.LineChart
16.PieChart
17.Plot
18.Renderer
19.Series
20.ToolTip
21.XYLineChart
JFreeChart Q&A » Renderer » XYShapeRenderer 

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

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.