Search found 5 matches
- Thu Sep 09, 2010 2:19 pm
- Forum: JFreeChart
- Topic: Set the overlap color of xyareachart
- Replies: 0
- Views: 1836
Set the overlap color of xyareachart
I have an XYAreaChart displaying 2 series, one green and one blue. When the series overalap, they overlap in a light green. Here is an image of the chart: http://demo.moneymatch.com/temp/GraphImage.jpg What I want to do is to set the overlapping color to something else. I didn't find anything in the...
- Wed Dec 30, 2009 5:24 pm
- Forum: JFreeChart
- Topic: What chart type do I need for overlapping bars?
- Replies: 0
- Views: 1402
What chart type do I need for overlapping bars?
I have a chart I need to create that will have overlapping bars. There will be 3 bar sets, one for a main view, and then two others for supplemental views of the same data. I know it is kind of strainge looking, but the bars need to look something like this: ### ### ### ### ### ###### ###### ###### ...
- Tue Dec 29, 2009 8:33 pm
- Forum: JFreeChart
- Topic: Help... Item Labels not rendering
- Replies: 1
- Views: 1514
Re: Help... Item Labels not rendering
I got them to display.... and I know originally they were displaying at the top of the bars. Now they display only at the bottom of the bars, and only if I set an anchor offset of -30. How do I get them back to the top of the bars?? New code (toying around with the label positions): LayeredBarRender...
- Tue Dec 29, 2009 8:13 pm
- Forum: JFreeChart
- Topic: Help... Item Labels not rendering
- Replies: 1
- Views: 1514
Help... Item Labels not rendering
I had item labels just fine, until I started to play a bit... and now they won't render at all! LayeredBarRenderer renderer = new LayeredBarRenderer(); renderer.setBaseItemLabelGenerator(this.getItemLabelGenerator()); renderer.setBaseItemLabelsVisible(true); renderer.setBaseItemLabelFont(this.font10...
- Tue Dec 29, 2009 7:17 pm
- Forum: JFreeChart
- Topic: ItemLabel newline
- Replies: 3
- Views: 3719
Re: ItemLabel newline
Unfortunately the item label drawing code only supports single line labels. David, I, too, need multi-line labels. Couldn't you solve this using an "ItemLabelRenderer", and simply just use a JLabel (or something similar as a default)? I can see a lot of flexibility with an ItemLabelRenderer and the...