Sorry. Pictures say a thousand words, so here is
<a href="http://test.jsurvey.com/images/graph.jpg">one</a>
It has a range of 0 to 100%
4 labels on the x axis
Range/Label
0-25 "minimal"
02-50 "moderate"
50-75 "major"
75-100 "severe"
I did not see in the API a way to do the labels on the x axis. Thanks for letting me know if it is possible to use this package to generate this graph. If it's possible, I will buy documentation today.
Thanks!
Phillip
Can I create this simple graph?
Re: Can I create this simple graph?
Hi Phillip,
There's no support for labelling the axis in this way (or for displaying the axis at the top as in your example). But it shouldn't be that difficult to extend the existing axis to show the labelled ranges...I'll see if I can do it later today.
Regards,
DG.
There's no support for labelling the axis in this way (or for displaying the axis at the top as in your example). But it shouldn't be that difficult to extend the existing axis to show the labelled ranges...I'll see if I can do it later today.
Regards,
DG.
Re: Can I create this simple graph?
I have made a few changes that will allow ranges to be labelled on the number axis. Here is an example:
http://www.object-refinery.com/jfreecha ... ndaxis.png
It's not exactly the same as the example you gave, but close.
The code is still pretty rough, but I'll commit the changes to CVS on SourceForge if you want to take a look (two new classes HorizontalMarkerAxisBand and IntervalMarker, plus some changes to HorizontalNumberAxis and the HorizontalBarChartDemo application).
Regards,
DG.
http://www.object-refinery.com/jfreecha ... ndaxis.png
It's not exactly the same as the example you gave, but close.
The code is still pretty rough, but I'll commit the changes to CVS on SourceForge if you want to take a look (two new classes HorizontalMarkerAxisBand and IntervalMarker, plus some changes to HorizontalNumberAxis and the HorizontalBarChartDemo application).
Regards,
DG.
Re: Can I create this simple graph?
I think this graph comes pretty close!
Let me know when you have CVS updated and I will go from there.
Thanks.
Let me know when you have CVS updated and I will go from there.
Thanks.