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

Message ListMessage List     Post MessagePost Message

  x-axis positioned on the zero of the y-axis
Posted by PeterMaz on Jan-20-2025 03:28
Attachments:
good morning, how can i move x-axis to a certain position of y-axis, as in the picture. thanks
Image1.jpg

  Re: x-axis positioned on the zero of the y-axis
Posted by Peter Kwan on Jan-20-2025 16:22
Hi PeterMaz,

The API is XYChart.setAxisAtOrigin:

https://www.advsofteng.com/doc/cdnet.htm#XYChart.setAxisAtOrigin.htm

The following is an example with both the x-axis and y-axis centered at the original. For your case, you only need to use x-axis part:

https://www.advsofteng.com/doc/cdnet.htm#fourq.htm

Best Regards
Peter Kwan