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?
Search found 10 matches
- Wed Nov 14, 2007 6:23 pm
- Forum: JFreeChart
- Topic: change legend's font
- Replies: 3
- Views: 3579
- 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
chart.getLegend().setItemFont(new java.awt.Font("SansSerif",0,20));
But it doesn't work

- 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?
- 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.
How about removing the horizontal & vertical gray line for the x & y-axis.
- 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?
- 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");
- 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?
chart.getPlot().setOutlinePaint(null);
The above works for Multiple Pie Chart. How about Line Chart?
- 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.
- 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?
- 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.