Search found 10 matches

by gabbagabbahey
Wed Nov 14, 2007 6:23 pm
Forum: JFreeChart
Topic: change legend's font
Replies: 3
Views: 3579

Only works on Multiple Pie Chart

var chart = plot.getPieChart();
chart.getLegend().setItemFont(new java.awt.Font("SansSerif",0,20));

The above will work for Multiple Pie Chart. It will set the individual legend's font, but how do i change the overall legend's font?
by gabbagabbahey
Wed Nov 14, 2007 8:56 am
Forum: JFreeChart
Topic: change legend's font
Replies: 3
Views: 3579

no solution to this?

i tried the following -
chart.getLegend().setItemFont(new java.awt.Font("SansSerif",0,20));

But it doesn't work :(
by gabbagabbahey
Tue Nov 13, 2007 3:12 pm
Forum: JFreeChart
Topic: change legend's font
Replies: 3
Views: 3579

change legend's font

How is it possible to change the legend's font easily?
by gabbagabbahey
Tue Oct 16, 2007 3:44 pm
Forum: JFreeChart
Topic: Remove Chart's gray border
Replies: 7
Views: 9907

remove the x & y-axis gray line

Thanks, the above works.

How about removing the horizontal & vertical gray line for the x & y-axis.
by gabbagabbahey
Tue Oct 16, 2007 12:21 pm
Forum: JFreeChart
Topic: Remove Chart's gray border
Replies: 7
Views: 9907

any solutions?

Any solutions for LineChart?
by gabbagabbahey
Tue Oct 16, 2007 12:19 pm
Forum: JFreeChart
Topic: How to set the text orientation of y-axis to horizontal
Replies: 2
Views: 2717

I managed to get it done for X-axis, how about Y-axis?

Code: Select all

var yAxis = plot.getRangeAxis(); 
yAxis.setLabelAngle("4.712389");
Managed to get it done for X-axis, how bout y-axis?
by gabbagabbahey
Mon Oct 15, 2007 5:46 pm
Forum: JFreeChart
Topic: Remove Chart's gray border
Replies: 7
Views: 9907

It works for Multiple Pie Chart.

var chart = plot.getPieChart();
chart.getPlot().setOutlinePaint(null);

The above works for Multiple Pie Chart. How about Line Chart?
by gabbagabbahey
Mon Oct 15, 2007 4:49 pm
Forum: JFreeChart
Topic: Remove Chart's gray border
Replies: 7
Views: 9907

Remove Chart's gray border

How to remove the chart's gray border? To make the output more nicer.
by gabbagabbahey
Mon Oct 15, 2007 4:48 pm
Forum: JFreeChart
Topic: How to set the text orientation of y-axis to horizontal
Replies: 2
Views: 2717

How to set the text orientation of y-axis to horizontal

Text orientation for y-axis is shown as vertical, possible to show it horizontal?
by gabbagabbahey
Tue Oct 09, 2007 11:13 am
Forum: JFreeChart
Topic: Remove Individual Legend from Multiple Pie Chart
Replies: 1
Views: 2534

Remove Individual Legend from Multiple Pie Chart

How do i remove the individual legend from the multiple pie chart? It looks abit messy with so many legends shown in the multiple pie chart.