hi ,
how do i represent the data above the bars in the bar charts . i mean how do i have data label in charts where in i can rreperesent the data in the charts at their respective bars and how can i do it in line charts too ?.
I also have another question suppose i have values as follows
20 , 200 , 200000000
if i where to represent these values then the value 20 would not be represented clearly . if i were to make a percentage like have the max imum vertical Axes value as 2000 and having a note at the bottom of the chart that 2000 represents the max value of 200000000 then how do i adjust the remaining values and hod i represent them in the charts .
Can these kinda values be represented in charts or not .
Thanks & Regards,
Murugan
data labels and percentage
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
To display values on the chart, you can use the setValueLabelsVisible(...) method in the CategoryPlot class. It works for some charts only, but is being enhanced for the next release.
For your other question, perhaps changing the axis to a logarithmic axis would help. Apart from that, there's no other way I can think of (without modifying the axis code).
For your other question, perhaps changing the axis to a logarithmic axis would help. Apart from that, there's no other way I can think of (without modifying the axis code).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

