I have an idea for a functionality for barchart charts. At the moment barchart graphs are showing all bars that are in the underlying data on screen. Maybe it is an idea to make it possible to use next & previous buttons or something like that ... . These buttons can for instance show the next / previous 10 bars ...
Please tell me what you think of it then I can post it as request
Jeroen H
Possible new functionality?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It would be a useful feature. I'm not sure what is the best way to go about implementing it though - it needs to take account of the fact that the screen is only one possible output target for the charts.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


I was thinking of the same type of thing a while back. I came to the conclusion that doing this really requires a type coupling to the output target as David mentioned above. One possibility is a Swing component that wraps the ChartPanel (sorta like the new scroll bar demo) and alters the underlying dataset as you "page" through the results.