ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  How to get intermittent x-axis labels?
Posted by Steve on Jan-05-2022 04:13
Hi. I have a chart with dates on the x-axis. I have rotated them 90 degrees, but there are still too many dates to fit in a readable font. Is there some way to make the labels intermittent, for example to only show every other, or every 3rd/4th/5th, etc., label?

  Re: How to get intermittent x-axis labels?
Posted by Peter Kwan on Jan-05-2022 10:07
Hi Steve,

You can use Axis.setLabelStep. The following is an example that uses this API to display every 3rd label:

https://www.advsofteng.com/doc/cdperl.htm#simpleline.htm

Regards
Peter Kwan