Following is the part of Line chart:
// create the dataset...
final DefaultCategoryDataset dataset = new DefaultCategoryDataset();
dataset.addValue(15.0, series1, "type1");
dataset.addValue(4.0, series1, "type2");
dataset.addValue(3.0, series1, type3);
dataset.addValue(5.0, series1, type4);
return dataset;
..........................
After drawing Line chart, values, type1, type2,type3, type4 are shown on x-axis
How can I remove these values from x-axis.
Thanks in advance
Ranjan Yengkhom
Remove series value from x-axis
Re: Remove series value from x-axis
I have explore many articles on net... i hope there is no solution for the above problem...
can anybody tell me how to change the font color of the above values to make it simulation
can anybody tell me how to change the font color of the above values to make it simulation
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Remove series value from x-axis
To hide the labels, just call setTickLabels(false) on the axis.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

