Is there a way to combine CategoryPlot and XYPlot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
fse
Posts: 25
Joined: Thu Mar 27, 2003 9:21 am
Location: cologne, germany
Contact:

Is there a way to combine CategoryPlot and XYPlot

Post by fse » Tue Nov 11, 2003 2:46 pm

this is a recycled topic :-) i know but ....

is there a way to combine these different Plots? i need to draw a stacked bar chart with a step chart and don't know how to do it.

tia

frank

kingguppy
Posts: 37
Joined: Mon Apr 07, 2003 9:52 pm
Location: Wuppertal, Germany

Post by kingguppy » Tue Nov 11, 2003 3:35 pm

Do you want to combine them by overlaying them, or having two plots that share a value axis?

I reworked the Combined*Plot stuff, one of the consequences is that CategoryPlots and XYPlots should be able to share a compatible axis. I haven't submitted a patch yet, I've got a rather large collection to organise and it may take some time.

Matthias
Posts: 42
Joined: Fri Apr 18, 2003 9:49 am
Location: Germany

Post by Matthias » Wed Nov 12, 2003 1:32 pm

kingguppy wrote:I reworked the Combined*Plot stuff, one of the consequences is that CategoryPlots and XYPlots should be able to share a compatible axis...
Will it then work that if one zooms one chart the combined one will be zoomed accordingly :?: I think in the moment it's still not possible to zoom on a CategoryAxis.

kingguppy
Posts: 37
Joined: Mon Apr 07, 2003 9:52 pm
Location: Wuppertal, Germany

Post by kingguppy » Wed Nov 12, 2003 7:42 pm

I don't know whether this will work, I don't actually use CategoryPlots in my own work. It should in theory (on the shared ValueAxis). I'll post here when I have a test version available if you like.

Locked