Search found 6 matches

by gotti
Tue May 25, 2004 2:01 pm
Forum: JFreeChart
Topic: font in axis tick lables..very urgent
Replies: 1
Views: 2115

I dont use that chart but i guess it works somehow like that:
//x-Axis
Font xFont = new Font("SansSerif", 8,Font.PLAIN);
CategoryPlot plot = chart.getCategoryPlot();
CategoryAxis domainAxis = plot.getDomainAxis();
domainAxis.setTickLabelFont(xFont);
by gotti
Tue May 25, 2004 1:58 pm
Forum: JFreeChart
Topic: Creating image without saving it
Replies: 4
Views: 6690

Creating image without saving it

Hi,
i want to create an image out of a chart without saving it directly. My intention is to add it as an image to a pdf-file. I dont want to write it directly to a pdf because i want to handle the "positioning" somewhere else in the code.
Regards
Tobias
by gotti
Thu May 06, 2004 8:51 am
Forum: JFreeChart
Topic: how to deal with 100+ bars in Horizontal Stacked Bar Chart?
Replies: 1
Views: 2479

I´ve got the same problem - i need to display around 50 bars. The only thing that worked for me is to use vertical labels and smaller font type. I would prefer a solution that allows to define wich labels are shown but i guess there is nothing like that - am i wrong? CategoryAxis domainAxis = plot.g...
by gotti
Thu May 06, 2004 8:42 am
Forum: JFreeChart
Topic: Label Alignement Problem with JDK 1.3.1 and earlier
Replies: 5
Views: 6913

Thank you David!
I implemented version 0.9.18 and now the allignement problem is fixed.
by gotti
Tue May 04, 2004 1:53 pm
Forum: JFreeChart
Topic: Label Alignement Problem with JDK 1.3.1 and earlier
Replies: 5
Views: 6913

Label Alignement Problem with JDK 1.3.1 and earlier

All horizontal Labels (Title, Tickvalues and Categorylabel) are by far too high if i use a jdk version earlier than 1.4. I know this doesnt happen if i use jdk 1.4.2 but is there a way to change the marging/ position of these labels - if so please show me how.
by gotti
Sun May 02, 2004 2:27 pm
Forum: JFreeChart
Topic: hide/disable x axis tick labels?
Replies: 4
Views: 6180

Somehow i cant find it in the manual so:
I´d like to know if it is also possible to hide every for example second or third label - cause if i´ve got a Bar Chart with 40 Bars there´s not enough space for 40 labels...
What i´d like to have is something like:
1,2,3,4,5,10,15,20,25,26,27,28,29,30