Search found 9 matches

by eladmena
Wed Apr 28, 2010 10:09 am
Forum: JFreeChart
Topic: Big Legend Hides Graph
Replies: 9
Views: 15692

Re: Big Legend Hides Graph

Sorry for the late reply, I didn't get an email of the responses. paradoxoff: I wouldn't want to change the names, since in some cases it is not necessary, if only I could have known the legend is taking more than half of the area I could have done something like this. Jim McGlaughlin: I'm not sure ...
by eladmena
Tue Apr 06, 2010 11:20 am
Forum: JFreeChart
Topic: Big Legend Hides Graph
Replies: 9
Views: 15692

Big Legend Hides Graph

Hey, In case using a legend being placed either in the top or bottom of the chart (RectangleEdge is either top or bottom) and there are too many items in the legend, then all legend items are shown and the legend takes all the chart area, which result in the graph not being visible. see attached ima...
by eladmena
Sun Jan 03, 2010 2:08 pm
Forum: JFreeChart
Topic: Fonts seem smaller than they should in charts
Replies: 6
Views: 5649

Re: Fonts seem smaller than they should in charts

Sorry for the late reply, I wasn't at work for a while.
Testing JLabel produced the same size of fonts as the generated charts.

Thanks
by eladmena
Thu Oct 29, 2009 2:24 pm
Forum: JFreeChart
Topic: Fonts seem smaller than they should in charts
Replies: 6
Views: 5649

Re: Fonts seem smaller than they should in charts

I'm not using ChartPanel.
I only use it to create images using: chart.createBufferedImage(<Width>, <Height>);
by eladmena
Mon Oct 26, 2009 5:28 pm
Forum: JFreeChart
Topic: Fonts seem smaller than they should in charts
Replies: 6
Views: 5649

Fonts seem smaller than they should in charts

Hey. I'm having a problem with font sizes in the title or axes. setting a font for the title or axes makes the font look smaller by about 1.5 than the specified size. As a workaround I have set the font getter to return a font with the original size multiplied by 1.5, but that's not the ideal soluti...
by eladmena
Mon Sep 14, 2009 3:23 pm
Forum: JFreeChart
Topic: Trimming long subtitles
Replies: 6
Views: 5474

Re: Trimming long subtitles

Thanks a lot for all your help.
I have managed to solve this by creating a LegendItemLabelGenerator which trims the text as needed.

Elad
by eladmena
Sun Sep 13, 2009 9:09 am
Forum: JFreeChart
Topic: Trimming long subtitles
Replies: 6
Views: 5474

Re: Trimming long subtitles

I believe truncating is a good way to show long legend labels, wrapping can exceed the height of the legend with long ones. When truncating, tooltips would be a good idea, so the user can see the full label. I'll add the changes you mentioned to FlowArranagement class, and add the following lines of...
by eladmena
Wed Sep 09, 2009 2:15 pm
Forum: JFreeChart
Topic: Trimming long subtitles
Replies: 6
Views: 5474

Re: Trimming long subtitles

Thanks.
Will this fix be added to the next version?
by eladmena
Tue Sep 08, 2009 12:30 pm
Forum: JFreeChart
Topic: Trimming long subtitles
Replies: 6
Views: 5474

Trimming long subtitles

Hey I have a problem with charts with legends, where at least one legend item is very long. In that case the legends take too much space at the expense of the chart area. I have tried limiting the legend size, but didn't manage to do it. Is there a way to automatically cut long labels the same way i...