0

I am trying to plot XY graph using jfreechart. I got some examples that plots graphs for fixed given values but I want to plot it for real time continuous values.

As I am beginner to this can any one guide me.

1 Answer 1

2

Adding data after a chart has been created is very easy, just add a new series dataset.addSeries(series) or add an item to an existing series series.add(item). You can do this by making either the dataset or series a field rather then a local variable. Create a new thread to add data.

There is an example in the JFreeChart Samples and you can get the source code by buying the developer guide

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.