Hi,
I have large number of data points in my chart. I want to show the shape on some data points only, not to all. I am trying to draw XYLine Chart.
Can I do it in JfreeChart?
Thanks
Showing Shapes
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
One way would be to subclass XYLineAndShapeRenderer and override the getItemShapeVisible(int, int) method...return true for the items that you want the shape to be visible for, and false for the rest.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

