Is it possible to make a chart that is able to switch its data sets dynamically?
To clarify what I mean, what I want my chart program to do is switch datasets without creating a new chart. The chart needs to be responsive to JCombo box.
If it is possible how would I approach this.
How to make updating chart
-
- Posts: 513
- Joined: Wed Sep 12, 2007 3:18 pm
Re: How to make updating chart
This example, while verbose and not type-safe, illustrates the essential mechanism: update the dataset and the listening chart will update itself in response.