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

Message ListMessage List     Post MessagePost Message

  xAxis() lable count
Posted by gawoocha on Jan-17-2019 16:36
Attachments:
hi


I want to label the x-axis every 6 months
What should I do?
thank
qqqq.png

  Re: xAxis() lable count
Posted by Peter Kwan on Jan-18-2019 02:43
Hi gawoocha,

I assume you are using an array of text strings as the axis labels. To have one label every 6 months, you can use Axis.setLabelStep. See:

https://www.advsofteng.com/doc/cdcpp.htm#Axis.setLabelStep.htm

For example, in C++, it is like:

c->xAxis()->setLabelStep(6);

A sample code that uses this method is:

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

Hope this can help.

Regards
Peter Kwan