Hi i am in a project, my task is applet calling a swing application. In swing frame i have a dynamic time series chart. has to display with some random data. ihave developed chart in jfreechart. when i try to add that chart to my panel it is not working as i anticipated. my code is.
// chart class
getChartPanel methode will return the panel which i have to add in my main frame.
This panel will be added to a Jframe.
but the graph is not moving. it is constantly displaying an image.
mallikarjun dontamsetti wrote:but the graph is not moving. it is constantly displaying an image.
what do you mean by graph not moving? by image do you mean the chart being generated?
As far as I know, JFreeChart will generate the image and you can show that in your app. It doesn't support animation. If you need charts with animation, you should look at JavaFX charts.