Tick labels at start & end of the series line

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ajanitin
Posts: 7
Joined: Wed Dec 03, 2008 12:30 pm
Location: Pune, India

Tick labels at start & end of the series line

Post by ajanitin » Mon Jan 19, 2009 11:38 am

Hi,

I am using timeseries chart. My problem is i want to display the axis tick labels at the start (0,0) & end of the series line along with other labels.(for ex: check the graph at www.bseindia.com) Kindly help. Is there any way out to programmatically generate the tick labels.

Thanks

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Jan 20, 2009 10:06 am

I'd like to add an option to JFreeChart to explicitly label the end points of the axes, but for now there isn't a way to do it. Except by subclassing the axis and overriding refreshTicks() to include those end points (plus handle the potential overlap with the regular tick marks).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked