kostas papadopoulos
kostas papadopoulos

Reputation: 63

Dynamic JFreechart

I have a project where I read values from a file. I'd like to create a Dynamic chart where the user will have the ability to choose sections of the graphs and these sections will zoom - in in order to see the results. This functionality is similar to what the Excel does.

For example in the initial graph the user is able to see the graph of the whole year but I'd like to be able to zoom in and to see the graph of a specific day in the same panel,labelm frame.

Is it possible to be done via JFreechart???

Upvotes: 1

Views: 431

Answers (1)

trashgod
trashgod

Reputation: 205765

In the Java Web Start demo, most examples have zooming enabled. To zoom, right-click to see the context menu, click and drag a selection or use the mouse wheel. TimeSeriesChartDemo1, found in org.jfree.chart.demo, is a good starting point.

Upvotes: 1

Related Questions