Hi,
Does anyone know how to get a MultiplePiePlot to work with a subclass of a PiePlot? I tried changing MultiplePiePlotDemo1 to get a RingPlot instead of a PiePlot and it threw a class cast exception
There isn't any useful info in the developer guide.
Thanks,
Tim
Search found 20 matches
- Mon May 23, 2005 11:02 am
- Forum: JFreeChart
- Topic: MultiplePiePlot question
- Replies: 1
- Views: 2694
- Wed Apr 20, 2005 5:18 pm
- Forum: JFreeChart
- Topic: java.awt.HeadlessException
- Replies: 2
- Views: 3574
For info of anybody else who comes across this problem it is a pre java 1.4 issue which requires you to have run a virtual frame buffer on your box to make JFreeChart work.
If u supply this command line parameter you should be ok:
If u supply this command line parameter you should be ok:
Code: Select all
-Djava.awt.headless=true
- Wed Apr 13, 2005 3:30 pm
- Forum: JFreeChart
- Topic: Beginners guide to installing?
- Replies: 4
- Views: 5018
I don't actually use JCreator but as an IDE i think you should be able to do something similar to this: download the jfreechart zip file and extract that to a directory. That will give you the jar files you need. In JCreator start a new project and then probably go to its properties and find where i...
- Wed Apr 13, 2005 2:08 pm
- Forum: JFreeChart
- Topic: Multiple RingPlot approach
- Replies: 3
- Views: 3698
Multiple RingPlot approach
Hi,
What is the suggested way to implement an equivalent of MultiplePieChart for a subclass of PiePlot, e.g. RingPlot? Should I just extend MultiplePieChart and alter it as needed or is there a better way to do this?
Thanks,
Tim
What is the suggested way to implement an equivalent of MultiplePieChart for a subclass of PiePlot, e.g. RingPlot? Should I just extend MultiplePieChart and alter it as needed or is there a better way to do this?
Thanks,
Tim
- Mon Apr 11, 2005 11:54 am
- Forum: JFreeChart
- Topic: When is the next release?
- Replies: 1
- Views: 2847
When is the next release?
Impatient i know, just wondered if you had any idea when you'd be making the next release of JFreeChart.
Thanks,
Tim

Thanks,
Tim
- Fri Apr 08, 2005 3:52 pm
- Forum: JFreeChart
- Topic: Removing values from legend of pie chart
- Replies: 1
- Views: 3198
This is done by setting the legend label generator. Described in this post:
http://www.jfree.org/phpBB2/viewtopic.php?t=12331
http://www.jfree.org/phpBB2/viewtopic.php?t=12331
- Thu Apr 07, 2005 1:22 pm
- Forum: JFreeChart
- Topic: where can I download the jfreechart javadoc
- Replies: 2
- Views: 5807
- Tue Apr 05, 2005 10:34 am
- Forum: JFreeChart
- Topic: setSectionLabelGenerator
- Replies: 1
- Views: 2951
See this post
http://www.jfree.org/phpBB2/viewtopic.php?t=12331
You will want to change the first argument to your needs.
http://www.jfree.org/phpBB2/viewtopic.php?t=12331
You will want to change the first argument to your needs.
- Fri Apr 01, 2005 1:40 pm
- Forum: JFreeChart
- Topic: API docs / gjdoc
- Replies: 28
- Views: 44436
- Fri Apr 01, 2005 1:25 pm
- Forum: JFreeChart
- Topic: How to avoid line break in (pie section) label?
- Replies: 2
- Views: 4492
I'm using 1.0.0-pre-2 and i tried replicating your problem using the following but it works fine for me: plot.setLabelGenerator(new StandardPieSectionLabelGenerator ("{0} ({2})" , new DecimalFormat("0.0"),new DecimalFormat("0.0"))); This gives the Label on one line with spaces e.g. One (0.3) . Can u...
- Thu Mar 31, 2005 10:55 am
- Forum: JFreeChart
- Topic: Urgent, legend and label in PieChart, Can anyone help me?
- Replies: 3
- Views: 5076
1) As far as i'm aware this isn't possible at the moment as it is a non-trivial task. You have to consider how you will shift and wrap the legend if, for example, one bar is so big that it will run into the space allocated to the legend. If you implement this i'm sure a lot of people will be very gr...
- Thu Mar 31, 2005 10:48 am
- Forum: JFreeChart
- Topic: Tooltips/labels above Bars
- Replies: 2
- Views: 4292
BarRenderer renderer = (BarRenderer) plot.getRenderer(); renderer.setItemLabelFont(new Font("Arial", Font.BOLD, 9)); renderer.setLabelGenerator(new StandardCategoryLabelGenerator( "{2}", new DecimalFormat("0.0") )); renderer.setItemMargin(0.0); renderer.setItemLabelsVisible(true); i think this is t...
- Wed Mar 23, 2005 4:24 pm
- Forum: JFreeChart
- Topic: how to setRenderer
- Replies: 1
- Views: 3541
- Wed Mar 23, 2005 2:34 pm
- Forum: JFreeChart
- Topic: Subclass LegendTitle problems
- Replies: 4
- Views: 6424
- Wed Mar 23, 2005 9:57 am
- Forum: JFreeChart
- Topic: Subclass LegendTitle problems
- Replies: 4
- Views: 6424
Thanks for your response David. Here is a modified version of PieChartDemo1 provided with the latest release to demonstrate the problem I am seeing. If there is a better way that i should be setting the LegendTitle please let me know and I'll try that out. import java.awt.Font; import java.util.Arra...