i need example programs on SimpleHistogramDataSet that dynamically update the graph when new responses from the server arrive...I am new to JFreeChart actually...Kindly send me the links that that can help me building dynamic SimpleHistogramDataSet on occurance of certain events(e.g. as new responses arrive from the server)... Also i have to compare the response times of two different server strategies ...ie..Strategy1 send me 10,000 responses and i create the dynamic SimpleHistogramDataSet then strategy2 send me 10,000 responses and i create SimpleHistogramDataSet,,,but i want to draw the two strategies output on the same graph to compare them....I am dummy in JFreeChart so guide pe through proper links plz..
Asked
Active
Viewed 64 times
0
-
Your question is too broad. Please edit your question to include an [mcve](http://stackoverflow.com/help/mcve) that focuses on a specific problem. Start with the demo and developer guide, cited [here](http://stackoverflow.com/tags/jfreechart/info). Several dynamic chart examples are shown [here](http://stackoverflow.com/search?tab=votes&q=user%3a230513%20%5bjfreechart%5d%20dynamic). – trashgod May 30 '14 at 08:25
-
ok...actually i am working on a simulator in java i have created a server that is equipped with multiple components i want to compare the performance of these components...Eor example i have SimpleHistogramDataset of Component1 and SimpleHistogramDataset of Component2 ...now is there any way to draw the SimpleHistogramDataset of both components in one place so that i can compare them in a single graph in a single place,,,,if not then give me the alternatives or suggestions that how to draw multiple SimpleHistogramDataset of different components in a single graph to compare their performance – user3671023 May 30 '14 at 20:28
-
A chart can display multiple series, as shown [here](http://stackoverflow.com/a/5522583/230513). – trashgod May 31 '14 at 02:27
-
The SimpleHistogramDataset is special in the sense that it has only one series. You can plot two or more of these datasets on one XYPlot, no problem … just add multiple dataset and a renderer for each one. – David Gilbert Jun 01 '14 at 19:10