On first inspection it looks like CategoryTextAnnotation can only be used to add text into a plot? I guess I could use that to place the text directly on the line but more ideal would be to have a proper legend at the side, but inside the graph.
Any demo code for StandardCategorySeriesLabelGenerator?
Search found 17 matches
- Tue Aug 19, 2008 9:21 pm
- Forum: JFreeChart
- Topic: XYTitleAnnotation
- Replies: 3
- Views: 3189
- Tue Aug 19, 2008 7:43 pm
- Forum: JFreeChart
- Topic: XYTitleAnnotation
- Replies: 3
- Views: 3189
This is the sort of thing I need:
http://i7.photobucket.com/albums/y260/- ... /chart.jpg
If there is no way to add in the legend in like that on a CategoryPlot (I can get it to appear outside of the chart, but need it inside really), is there any way to recreate that chart using an XYPlot?
http://i7.photobucket.com/albums/y260/- ... /chart.jpg
If there is no way to add in the legend in like that on a CategoryPlot (I can get it to appear outside of the chart, but need it inside really), is there any way to recreate that chart using an XYPlot?
- Tue Aug 19, 2008 6:08 pm
- Forum: JFreeChart
- Topic: XYTitleAnnotation
- Replies: 3
- Views: 3189
XYTitleAnnotation
I need to add a legend inside my CategoryPlot chart. On searching the forum this experimental class was the only thing I could find for doing this sort of thing but is there any way to use it with a CategoryPlot?
- Sat Jul 19, 2008 9:51 pm
- Forum: JFreeChart
- Topic: How make a normal distribution using JFreeChart?
- Replies: 17
- Views: 19772
- Sat Jul 19, 2008 9:18 pm
- Forum: JFreeChart
- Topic: How make a normal distribution using JFreeChart?
- Replies: 17
- Views: 19772
The second series was meant to be vertical. The graph I am trying to achieve is something like this: http://i7.photobucket.com/albums/y260/-alsvartr-/fpdftb.gif My understanding from the earlier posts in this thread was that you were suggesting drawing the curve as the first series, and drawing the ...
- Sat Jul 19, 2008 5:09 pm
- Forum: JFreeChart
- Topic: How make a normal distribution using JFreeChart?
- Replies: 17
- Views: 19772
Richard, I am trying to use the method you suggested here. I have had success drawing the line underneath the curve, but I cannot get it to fill in area between the two datasets. I have used XYDifferenceRenderer as suggested but it does not work! Here is some code giving a basic example: package mai...
- Thu Jul 03, 2008 4:09 pm
- Forum: JFreeChart
- Topic: TimeSeries Chart range problem
- Replies: 3
- Views: 3664
- Thu Jul 03, 2008 2:59 pm
- Forum: JFreeChart
- Topic: TimeSeries Chart range problem
- Replies: 3
- Views: 3664
- Thu Jul 03, 2008 11:06 am
- Forum: JFreeChart
- Topic: Category plot with error bars
- Replies: 2
- Views: 3081
- Thu Jul 03, 2008 10:12 am
- Forum: JFreeChart
- Topic: Category plot with error bars
- Replies: 2
- Views: 3081
Category plot with error bars
I need a category plot displaying only a few data items which must be updatable, looking like this: http://i7.photobucket.com/albums/y260/-alsvartr-/errorbars.jpg I created the above chart using DefaultStatisticalCategoryDataset which just about works perfectly. However, I cannot figure out a suitab...
- Sat Jun 28, 2008 11:50 pm
- Forum: JFreeChart
- Topic: Plotting more than one distribution
- Replies: 8
- Views: 7849
- Sat Jun 28, 2008 9:57 pm
- Forum: JFreeChart
- Topic: Plotting more than one distribution
- Replies: 8
- Views: 7849
Awesome, I have got it sorted now. Thanks every so much for your help! Is there any way to reproduce the line indicating the mean, as shown in the example diagram I gave in that link earlier? The vertical line going from the x-axis through the distribution curve. I imagine I would need to follow you...
- Sat Jun 28, 2008 7:52 pm
- Forum: JFreeChart
- Topic: Plotting more than one distribution
- Replies: 8
- Views: 7849
Re: Plotting more than one distribution
If you want to learn Ant, you can find tutorials online. However, almost every open source project has their API documentation online. JFreeChart is no exception with its JavaDocs . So the on-line API doc and what you get from Ant is the same thing? I've been using the on-line API so far. I was jus...
- Sat Jun 28, 2008 7:46 pm
- Forum: JFreeChart
- Topic: Plotting more than one distribution
- Replies: 8
- Views: 7849
Re: Plotting more than one distribution
Try to post all related questions in the same thread. Create the two datasets and then add the series from one of the datasets to the other. Not exactly fancy but quick. The other option would be to sample the distribution functions manually en masse and populate a single dataset. Really sorry abou...
- Sat Jun 28, 2008 7:35 pm
- Forum: JFreeChart
- Topic: Plotting more than one distribution
- Replies: 8
- Views: 7849
Re: Plotting more than one distribution
Thanks very much for your replies! If you want to draw integrals as you did in JFreeChart and Statistics , you will want to keep each distribution in separate datasets. By using the first method you mentioned ("Create the two datasets and then add the series from one of the datasets to the other")? ...