Search found 10 matches

by SimOOn
Wed Dec 10, 2008 6:23 pm
Forum: JFreeChart
Topic: Rendering order of the elements
Replies: 0
Views: 1545

Rendering order of the elements

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.
by SimOOn
Mon Dec 01, 2008 1:01 pm
Forum: JFreeChart
Topic: Centering the labels of the legend when too long
Replies: 2
Views: 3411

I have been looking for a solution to make it work in the documentation and in the API but I haven't been able to solve that problem.

Has anyone an idea to fix it ?
Thanks a lot.
by SimOOn
Thu Nov 27, 2008 2:37 pm
Forum: JFreeChart
Topic: Centering the labels of the legend when too long
Replies: 2
Views: 3411

Centering the labels of the legend when too long

When the labels of my legend are too long and can't fit on a single line, they aren't not centered any more.

Example :
Image

Is there a solution to solve this or is it a bug ?
by SimOOn
Thu Nov 13, 2008 3:52 pm
Forum: JFreeChart
Topic: Split a axis label on different lines in a barchart
Replies: 5
Views: 4059

Ok thanks, I will try to modify these methods to solve my problem.
by SimOOn
Wed Nov 12, 2008 7:06 pm
Forum: JFreeChart
Topic: Split a axis label on different lines in a barchart
Replies: 5
Views: 4059

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...
by SimOOn
Wed Nov 12, 2008 4:40 pm
Forum: JFreeChart
Topic: Split a axis label on different lines in a barchart
Replies: 5
Views: 4059

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....
by SimOOn
Mon Sep 15, 2008 12:55 pm
Forum: JFreeChart
Topic: Customizing Barcharts
Replies: 0
Views: 1315

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.
by SimOOn
Wed Aug 27, 2008 4:37 pm
Forum: JFreeChart
Topic: Bar charts : customizing axis
Replies: 2
Views: 2575

I haven't found a way to move the label of the range axis from the left of the chart to its top. Can somebody confirm me that it has not been implemented in JFreeChart ?

Thanks.
by SimOOn
Wed Aug 27, 2008 2:12 pm
Forum: JFreeChart
Topic: Bar charts : customizing axis
Replies: 2
Views: 2575

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 :

Code: Select all

CategoryPlot categoryPlot=chart.getCategoryPlot();
categoryPlot.setRangeAxisLocation(AxisLocation.BOTTOM_OR_RIGHT);
by SimOOn
Wed Aug 27, 2008 9:59 am
Forum: JFreeChart
Topic: Bar charts : customizing axis
Replies: 2
Views: 2575

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...