Hi All,
I am trying to display tick marks along the X-Axis. ie if I have 1,2,3 along the X-axis, I need a dot or a tiny line on top of 1,2,3 that clearly demarcates the category.
[In fact, I am looking for a line that would be say 1 cm below x-axis and extends upto 1 cm above x-axis].
I tried CategoryAxis.setTickMarksVisible(true) but no luck. I read in a previous post that it has not been implemented.
Is there any other way to do it?
Any help is appreciated.
Thanks,
Suman
Tick marks along the X-Axis
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It is not implemented. There is a patch that I haven't looked at yet:
http://sourceforge.net/tracker/index.ph ... tid=315494
Perhaps you could try it out, and comment on whether it should be integrated into a future release of JFreeChart.
http://sourceforge.net/tracker/index.ph ... tid=315494
Perhaps you could try it out, and comment on whether it should be integrated into a future release of JFreeChart.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 19
- Joined: Mon Mar 27, 2006 5:19 am
Hi Dave,
Thank you for your reply. I did take a look at the sample. It works well and setTickMarksVisible(true) / (false) works fine.
I think it would be nice to implement that enhancement into the product.
And as for my requirement, I am now using the TimeSeriesChart where the tick marks are displayed automatically.
Thanks again,
Suman
Thank you for your reply. I did take a look at the sample. It works well and setTickMarksVisible(true) / (false) works fine.
I think it would be nice to implement that enhancement into the product.
And as for my requirement, I am now using the TimeSeriesChart where the tick marks are displayed automatically.
Thanks again,
Suman
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Great, thanks for the feedback on the patch...I'll bump it higher on my to-do list.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

