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

Message ListMessage List     Post MessagePost Message

  X axis a zero Line
Posted by Claude Kane on Dec-18-2012 05:54
I have a scatter chart with an Y axis from +1 to - 1.  How do I place the X axis at the Y zero Line?

  Re: X axis a zero Line
Posted by Peter Kwan on Dec-18-2012 07:41
Hi Claude,

You may use XYChart.setAxisAtOrigin. For example:

c.setAxisAtOrigin(Chart.XAxisAtOrigin);

There is a sample code called "4 Quadrant Chart" that demonstates this method:

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

Hope this can help.

Regards
Peter Kwan