Hi,
I so far have developed a candle stick graph based on the DefaultOHLCDataset. In case I have data to be displayed > 1 year I have to provide the possibility to scroll. For this I need to keep the y-axis always being displayed and the x-axis depending on the scroller to be moved.
It is similar to the idea of the SlidingCategoryDatasetDemo2 example, but the dataset is a different one which is unfortunately not compatible with the DefaultOHLCDataset.
Can anyone give me a hint from which class I have to derive from and/or how to tackle this issue in general reusing the idea of the SlidingCategory examples ?
Kind regards,
kha
Sliding candle stick graph
Re: Sliding candle stick graph
Hi,
after some investigation, the easiset way is the reuse the idea of the scroller (and its assigned ChangeListener) from the SlidingCategoryDatasetDemo. You need to implement your own ChangeListener though.
k
after some investigation, the easiset way is the reuse the idea of the scroller (and its assigned ChangeListener) from the SlidingCategoryDatasetDemo. You need to implement your own ChangeListener though.
k