问题
As the heading implies, I have a timeseries chart that displays two curves, each a TimeSeries, both part of the same TimeSeriesCollection. What I want to do is display the second TimeSeries as a barchart, but I want both TimeSeries still in the same chart. Is this possible?
回答1:
Yes this is possible, look at the OverlaidXYPlotDemo1 and OverlaidXYPlotDemo2 charts in the sample demo application that you can run from the JFree site. If you purchase the documentation they will send you the actual code for all the samples.
来源:https://stackoverflow.com/questions/6076133/turning-the-second-timeseries-in-a-timeserieschart-to-a-barchart