Flag to turn on axis labels for volume in CandlestickChart?

Discussion about JFreeChart related to stockmarket charts.
Locked
preaney
Posts: 1
Joined: Thu Sep 27, 2007 8:54 pm

Flag to turn on axis labels for volume in CandlestickChart?

Post by preaney » Thu Sep 27, 2007 9:02 pm

I see that display of volume bars can be turned on or off in CandlestickRenderer, but turning the volume on does not display any axis information for the volume data.

I saw an example for HighLowChart that creates a second dataset from the volume data, adds it to the plot and associates it with a new RangeAxis. I suppose I can do that, but before doing so I wanted to make sure there was no way to turn the labels on and off using a flag on the CandlestickRenderer.

So... how do I get an axis with volume numbers in a candlestick chart?

tedbyers
Posts: 50
Joined: Fri Oct 12, 2007 7:05 pm

Re: Flag to turn on axis labels for volume in CandlestickCha

Post by tedbyers » Tue Oct 16, 2007 5:51 pm

preaney wrote:I saw an example for HighLowChart that creates a second dataset from the volume data, adds it to the plot and associates it with a new RangeAxis.
May I ask, "Where, exactly, did you see this example?"

Thanks

Ted

Locked