at first i also wanna use the 2D graphic but my supervisor insist me to use the JFreeChart. The problem with JFreeChart is, i can use the mixture of bar chart and line but the it able to use a time series data set only ...
other than that , the histogram do have a gap between each of them which is wrong as histogram would not have a gap between them. i have also try to remove the gap, it is unsuccessful..
is there any tools or sample of java code that i can study?
Indeed, JFreeChart does not have histograms. But googling for "histogram java" yields lots of results. Maybe one of those fits the bill?
Ping & DNS - updated with new look and Ping home screen widget
Joined: May 28, 2008
ive try to Google but i couldn't get something similar with a histogram/bar chart with a smooth curve/distribution graph. ive try to play around with the JFreeChart Code, and i get to know different data set are unable to combine. ive able to combine a bar chart and line chart but the data set is time series which it doesn't match the data set that i have which is integer/decimal.
my supervisor insist me to use the JFreeChart instated of 2D programming.
im totally lost now..any suggestion what shall i start with?
thanks in advance..
Joined: Mar 22, 2005
Check out the various "Overlaid Chart" items in the JFreeChart demo application. It combines line charts and bar charts in the same plot. You can obtain the source code of the demo application (along with extensive documentation) for $50 or so from the JFreeChart author.