1
votes

Hi I am trying to make a dynamic stacked area and time series chart using jfreechart. I want to display it on a browser. Also, I want the pan and zoom using mouse wheel functionality. Any idea, how this can be done? Is it even possible ?

Or is there any other library by which I can make the chart?

1
You could try deploying via java-web-start, but you may want something like this.trashgod

1 Answers

0
votes
  • In order to zoom in your chart, you need to implement Zoomable interface.
  • In order to pan your chart, you need to implement Pannable interface.

Rather than using JFreeChart, you can use the new Java way to draw charts JavaFX. Check this tutorials Using JavaFX Charts.