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

Message ListMessage List     Post MessagePost Message

  How is the vertical axis of a finance chart calculated?
Posted by Ubay Dinesh on Aug-18-2013 07:50
Hello

I am trying to figure out how the vertical (price) axis of a finance chart is being calculated. It doesn't seem to be a multiple of high-low, and I am not finding it in the source.

Thank.

  Re: How is the vertical axis of a finance chart calculated?
Posted by Peter Kwan on Aug-19-2013 21:48
Hi Ubay,

The automatic axis scale in ChartDirector is based on a proprietary algorithm which is not
published. If you need to determine the axis scale, the only method is to create a chart
using ChartDirector, and then ask ChartDirector what is the scale by using Axis.getMinValue
and Axis.getMaxValue.

Hope this can help.

Regards
Peter Kwan