hi all (especially david),
i put an ChartPanel into a scrollabe JPanel. now i'm trying to find a way around the fact, that my ValueAxis disapears when scrolling to the right. my idea was, to draw another chart left of my scrollable chart, just existing of an ValueAxis and build my scrollable chart without an ValueAxis. but i can't find a way to do so .....
is it possible at all?
thx in advance for any help!
christian
drawing a chart just consisting of an ValueAxis
Re: drawing a chart just consisting of an ValueAxis
This is the main reason that scroll bars are not going to work very well with JFreeChart.
You could try writing an AxisPanel class, that keeps a reference to the chart but only renders the axis when an update is required (using the draw(...) method in the Axis class). It will probably work, but I think it is always going to be a messy solution.
Regards,
DG
You could try writing an AxisPanel class, that keeps a reference to the chart but only renders the axis when an update is required (using the draw(...) method in the Axis class). It will probably work, but I think it is always going to be a messy solution.
Regards,
DG