J.Yang wrote:No problem; plenty of libraries out there. I use JFreeChart from www.jfree.org.
I am going to develop a Java Application which needs to draw some charts, like annotated line.
Structure of data is simple that only datetime and value are included, but amount of data is huge.Then you start to have a problem.
I am new to Java Visualization and can someone give me some advices on this issue?If you have a very very large dataset and you are charting time series then your charts will be cluttered. You will have to in some way reduce the data to a more reasonable size so that you are plotting no more than 1 point per pixel along the time axis. My approach to this is to condense the data into three lines. The primary line breaks the time into a smaller number of segments (500 or so) and computes the average value for each segment and plots this average. You then create two secondary lines which use the same segments but compute the minimum and maximum value for each segment and you then plot the line of minimums and the line of maximums.
Which will Java Visualization Library suit to my requirement?
P.S. Free library would be better.