Page 1 of 1

resizing ChartPanel

Posted: Mon Jan 21, 2008 12:37 pm
by developer78
:?
Hello sir!!
I'm having a highlow chart and a volume chart...I want to embed this volume chart with that highlow chart. the volume chart will be displayed separately within ChartPanel. My problem is, the ChartPanel is not being resized. is there any way to resize the ChartPanel so that the highlow chart will be displayed along with the volume chart within it????

regards...

Posted: Wed Jan 30, 2008 4:46 pm
by david.gilbert
It isn't clear to me exactly what you are doing, but you should look at using a second dataset, renderer and y-axis to display the volume information on the same chart - for an example (if you have the JFreeChart Developer Guide), see PriceVolumeDemo1.java.

resizing ChartPanel

Posted: Thu Jan 31, 2008 7:18 am
by developer78
Hello sir!
what i exactly doing is, i've created a highlow chart and a volume chart, separately and that is displaying properly... but i just want to get it together in a same frame. i tried it to resizing the chat panels, but it is not working properly...
plz help!!
thank you for support..
regards...