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

Message ListMessage List     Post MessagePost Message

  Feature Request: INT only scaling
Posted by Keith Stevenson on Oct-19-2010 19:30
Apologies if this is already possible. At the moment, if we create a chart with (Labels = One, Two, Three) (Data = 1,2,1), the chart scales from 0 to 2.5 in the Y-Axis in 0.5 increments.  I can find no way to have the Axis scale in whole integers (ie 0,1,2).

So my request is an option to scale in whole numbers only.

Kind Regards

  Re: Feature Request: INT only scaling
Posted by Peter Kwan on Oct-20-2010 03:07
Hi Keith,

You may:

(a) Use Axis.setMinTickInc to set the minimum tick increment to 1. In this way, the tick will be at least 1 unit apart. For example, in VB/VBScript:

Call c.yAxis().setMinTickInc(1)

(b) Use Axis.setLinearScale to configure the axis scale and the ticks explicitly. For example:

Call c.yAxis().setLinearScale(0, 3, 1)

Hope this can help.

Regards
Peter Kwan