I would like to implement a chart(say XYline chart) in which whenever i click on a point its value changes and is represented on graph.
It should be dynamic in nature.
Dynamic chart whose values changes on clicking
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You need to add a ChartMouseListener to the panel, then respond to the events in your own code (for instance, by updating the dataset with a new value).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

