I think I made a gread mistake, JFreechart may never provide such feature.
Now, I customize the BarRenderer, and override the drawItem method.
Thanks!
Search found 32 matches
- Tue Dec 01, 2009 1:59 am
- Forum: JFreeChart
- Topic: highlight selected bar item?
- Replies: 1
- Views: 2976
- Tue Nov 24, 2009 1:47 am
- Forum: JFreeChart
- Topic: How to set color for specified chart item?
- Replies: 2
- Views: 3691
Re: How to set color for specified chart item?
Thanks, I'll have a try.
- Mon Nov 23, 2009 9:09 am
- Forum: JFreeChart
- Topic: How to set color for specified chart item?
- Replies: 2
- Views: 3691
How to set color for specified chart item?
For instance, I have a bar chart, which has two categories(C1, C2) and three series(S1, S2, S3).
Now I want to set red color for the bar item at (C2, S3), how to do?
Or, I have to customize bar renderer?
Thanks in advance!
Now I want to set red color for the bar item at (C2, S3), how to do?
Or, I have to customize bar renderer?
Thanks in advance!
- Tue Nov 10, 2009 5:31 am
- Forum: JFreeChart
- Topic: Two range axes share one grid line?
- Replies: 0
- Views: 2345
Two range axes share one grid line?
In a dual-axes chart, can I make two range axis ticks that from the two axes respectively share one grid line? For instance, as shown as the following chart, http://www.java2s.com/Code/JavaImages/JFreeChartDualAxisDemo4.PNG I wish Value axis tick "3" and Secondary axis tick "20" could locate at the ...
- Fri Nov 06, 2009 7:02 am
- Forum: JFreeChart
- Topic: highlight selected bar item?
- Replies: 1
- Views: 2976
highlight selected bar item?
Hi,
When I used an old version JFreechart, I could highlight a selected bar chart item with method CategoryPlot.setSelectCategoryIndex(),
now, I'm using JFreeChart 1.0.13, how to achieve the same goal?
Thanks in advance!
When I used an old version JFreechart, I could highlight a selected bar chart item with method CategoryPlot.setSelectCategoryIndex(),
now, I'm using JFreeChart 1.0.13, how to achieve the same goal?
Thanks in advance!
- Thu Sep 03, 2009 2:09 am
- Forum: JFreeChart
- Topic: use draw/paint utilities?
- Replies: 0
- Views: 1844
use draw/paint utilities?
JFreeChart can draw wonderful lines and shapes, can I use the painting utilities directly?
Thanks!
Thanks!
- Sat Sep 20, 2008 10:08 am
- Forum: JFreeChart - Stockmarket
- Topic: Financial Time Series Customizing?
- Replies: 14
- Views: 48460
Re: The yellow horizontal line
YeahAniket_kedari wrote: I don't see a horizontal yellow line. I see 2 charts in a CombinedDomainXYPlot on a yellow background

- Tue Aug 26, 2008 8:58 am
- Forum: JFreeChart
- Topic: set different color for different tick in a axis?
- Replies: 0
- Views: 2114
set different color for different tick in a axis?
Hi,
However I can set color for all of ticks in an axis with method Axis.setTickLabelPaint(),
but how to set different color for each tick in the axis?
Thanks!
However I can set color for all of ticks in an axis with method Axis.setTickLabelPaint(),
but how to set different color for each tick in the axis?
Thanks!
- Mon Aug 18, 2008 10:06 am
- Forum: JFreeChart
- Topic: Change subplot weight?
- Replies: 5
- Views: 6528
I have another two questions: [1]As shown as the above pictures, all of tick label are too close to the bottom of the Volume area. How to adjust the gap between them? Note: All of ticks are added by manual(override method DateAxis.refreshTicks). I shall know Axis.setTickLabelInsets(RectangleInsets ...
- Tue Aug 12, 2008 9:39 am
- Forum: JFreeChart
- Topic: Change subplot weight?
- Replies: 5
- Views: 6528
I have another two questions: [1]As shown as the above pictures, all of tick label are too close to the bottom of the Volume area. How to adjust the gap between them? Note: All of ticks are added by manual(override method DateAxis.refreshTicks). [2]I wish each "Price" point has the same X-axis value...
- Mon Aug 11, 2008 9:06 am
- Forum: JFreeChart
- Topic: Change subplot weight?
- Replies: 5
- Views: 6528
- Fri Aug 08, 2008 10:19 am
- Forum: JFreeChart
- Topic: Change subplot weight?
- Replies: 5
- Views: 6528
Change subplot weight?
I made a CombinedDomainXYPlot, and used method combinedDomainXYPlot.add(plot1, 2) combinedDomainXYPlot.add(plot2, 1) to add two sub-XYPlots. The image is shown as the followings, http://farm4.static.flickr.com/3041/2743026957_4a0fba55b2_o.jpg If I had added the two sub-XYPlots, and then changed thei...
- Fri Aug 01, 2008 8:35 am
- Forum: JFreeChart - Stockmarket
- Topic: Financial Time Series Customizing?
- Replies: 14
- Views: 48460
I have tried SegmentedTimeline(maybe too late *_*). As mentioned above, the valid time ranges are: 09:30-11:30, 13:00-15:00. I made a SegmentedTimeline: SegmentedTimeline segmented = new SegmentedTimeline(SegmentedTimeline.MINUTE_SEGMENT_SIZE, 1351, 89); segmented.setBaseTimeline(SegmentedTimeline....
- Mon Jul 28, 2008 11:02 am
- Forum: JFreeChart - Stockmarket
- Topic: Financial Time Series Customizing?
- Replies: 14
- Views: 48460
I made some segmented Candlestick charts, and also have some puzzles. As show as the below, http://farm4.static.flickr.com/3269/2709259961_ae6ba5d956_o.png although I use SegmentedTimeline: SegmentedTimeline segmented = SegmentedTimeline.newMondayThroughFridayTimeline(); the chart has some "gaps"(th...
- Mon Jul 28, 2008 10:20 am
- Forum: JFreeChart - Stockmarket
- Topic: Financial Time Series Customizing?
- Replies: 14
- Views: 48460