Barchart and Linechart combo (still coming...)?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
murmur

Barchart and Linechart combo (still coming...)?

Post by murmur » Tue Oct 30, 2001 1:44 pm

DG discussed this issue on summer. Anyone know what's the status of barchart + linechart combo?

>>>>>>>>>
Multiple data series on one chart?
Author: rick (151.191.175.---)
Date: 08-22-01 20:10
is it possible to have multiple data series on one chart. Each with its own graphical representation? i.e.
series1 is a column chart
series2 is a line chart

Reply To This Message
RE: Multiple data series on one chart?
Author: David Gilbert (---.server.ntl.com)
Date: 08-23-01 05:20
Hi Rick,
It's not possible in version 0.5.6, but some work is being done towards making it available in the future. I need JFreeChart to support price/volume charts which will require a bar plot and a line plot sharing a common x-axis but each with their own y-axis.
The first step towards this goal is to implement a bar plot based on an extension of the existing XYDataSource. Once that is working, I'd like to improve the time series features in JFreeChart. Then finally change all the internals of JFreeChart so that you can add a second Plot to be overlayed with the existing one.
I only wish that I had more time to work on JFreeChart so I could get these things out quicker...
Regards,
DG.

David Gilbert

RE: Barchart and Linechart combo (still coming...)

Post by David Gilbert » Tue Oct 30, 2001 7:15 pm

It's not there yet, but I'm confident of having it done before the end of the year. If you look in the latest source code (CVS on SourceForge) you'll see there is now an XYBarChart...my plan is to combine that with an XYPlot. Both plots will share the X-axis, but I'll change the code to allow dual Y axes. I could hack something together pretty quickly, but I want it to look half decent so I'm going to take time over it...

Regards,

DG.

Locked