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
Search found 4 matches
- Fri Sep 11, 2009 4:55 pm
- Forum: JFreeChart
- Topic: Sliding candle stick graph
- Replies: 1
- Views: 2805
- Tue Sep 08, 2009 4:29 pm
- Forum: JFreeChart
- Topic: set decimal value in my y axis
- Replies: 1
- Views: 3162
Re: set decimal value in my y axis
Hi you should be able to achieve that by using a formatter: 1. Create a formatter DecimalFormat format = (DecimalFormat)DecimalFormat.getNumberInstance(Locale.ENGLISH); format.applyPattern("#,##0"); In case there could be decimals, for example 10.5 you should use: format.applyPattern("#,##0.##"); 2....
- Tue Sep 08, 2009 10:00 am
- Forum: JFreeChart
- Topic: Sliding candle stick graph
- Replies: 1
- Views: 2805
Sliding candle stick graph
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...
- Tue Sep 08, 2009 8:06 am
- Forum: JFreeChart
- Topic: how to increase thickness of a jfree chart line series?
- Replies: 1
- Views: 3579
Re: how to increase thickness of a jfree chart line series?
Hi Ajith,
Apply following steps:
1. Get the renderer you are using for painting the series
2. Then simply apply renderer.setSeriesStroke ( <series number, if you have only one it is 0>, new BasicStroke ( <thickness as float, i.e 2.0f etc> ));
k
Apply following steps:
1. Get the renderer you are using for painting the series
2. Then simply apply renderer.setSeriesStroke ( <series number, if you have only one it is 0>, new BasicStroke ( <thickness as float, i.e 2.0f etc> ));
k