In my charts, I have a gray outline and black axis.
They have both the same width and as the outline is rendered before the axis, it makes them invisible.
Is there an easy way to change the render of the chart so that the axis are visible ?
Thanks.
Search found 10 matches
- Wed Dec 10, 2008 6:23 pm
- Forum: JFreeChart
- Topic: Rendering order of the elements
- Replies: 0
- Views: 2464
- Mon Dec 01, 2008 1:01 pm
- Forum: JFreeChart
- Topic: Centering the labels of the legend when too long
- Replies: 2
- Views: 6050
- Thu Nov 27, 2008 2:37 pm
- Forum: JFreeChart
- Topic: Centering the labels of the legend when too long
- Replies: 2
- Views: 6050
- Thu Nov 13, 2008 3:52 pm
- Forum: JFreeChart
- Topic: Split a axis label on different lines in a barchart
- Replies: 5
- Views: 7962
- Wed Nov 12, 2008 7:06 pm
- Forum: JFreeChart
- Topic: Split a axis label on different lines in a barchart
- Replies: 5
- Views: 7962
Before posting, I've first searched the forum for an answer but the only things I've found was related to tick and category labels, not to the axis label. I've also seached in the documentation and I've found nothing to solve my problem. To illustrate my problem : http://uppix.net/8/1/d/c311e608d3b5...
- Wed Nov 12, 2008 4:40 pm
- Forum: JFreeChart
- Topic: Split a axis label on different lines in a barchart
- Replies: 5
- Views: 7962
Split a axis label on different lines in a barchart
Hi, in a barchart I have an axis label very long (~50c.) which is taking too much space. As I have to keep an horizontal orientation, I would like to know if it is possible to split it on different lines ? I tried to modify it by inserting carriage returns but apparently JFreeChart is ignoring them....
- Mon Sep 15, 2008 12:55 pm
- Forum: JFreeChart
- Topic: Customizing Barcharts
- Replies: 0
- Views: 2373
Customizing Barcharts
I have a couple of questions about barcharts :
- Is it possible to add top and right borders to a chart ?
- I added range grid lines but as it is grey and the axis are black, I get some overlapping. Is there a way to draw the range grid lines on the back ?
Thanks in advance.
- Is it possible to add top and right borders to a chart ?
- I added range grid lines but as it is grey and the axis are black, I get some overlapping. Is there a way to draw the range grid lines on the back ?
Thanks in advance.
- Wed Aug 27, 2008 4:37 pm
- Forum: JFreeChart
- Topic: Bar charts : customizing axis
- Replies: 2
- Views: 4378
- Wed Aug 27, 2008 2:12 pm
- Forum: JFreeChart
- Topic: Bar charts : customizing axis
- Replies: 2
- Views: 4378
I figured out the answer fro my first question :
To put the range axis at the bottom of the graph, you have to add these lines :
To put the range axis at the bottom of the graph, you have to add these lines :
Code: Select all
CategoryPlot categoryPlot=chart.getCategoryPlot();
categoryPlot.setRangeAxisLocation(AxisLocation.BOTTOM_OR_RIGHT);
- Wed Aug 27, 2008 9:59 am
- Forum: JFreeChart
- Topic: Bar charts : customizing axis
- Replies: 2
- Views: 4378
Bar charts : customizing axis
Hi, I am customizing bar charts and I meet some problems with customizing the axis : - for a horizontal bar chart, I would like to place the value axis at the bottom of the chart and not at its top, - for a bar chart, I am looking for solutions in order to place the label of the value axis at the to...