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

Message ListMessage List     Post MessagePost Message

  Bar chart y-axiz range
Posted by Raju bishnoi on Sep-10-2009 19:53
Hi,

I want to set bar chart y-axis value in interger only not in float.

if i set values like data = Array(1, 0, 2, 0, 1)

than y-axis display like 0.2,0.4,0.6,0.8,1.0,1.2.... in this case i want y-axis like 1,2,3,4,5,6,7,8,9,10. becoz i dont want float point number.

plz send me ASAP if u have any solution.

thanks
Raju
waiting for reply.

  Re: Bar chart y-axiz range
Posted by Peter Kwan on Sep-11-2009 00:55
Hi Raju,

If you want ChartDirector to automatically scale the y-axis, but only wants integer labels, please use (in VB/VBScript):

'Set minimum increment to 1
Call c.yAxis().setMinTickInc(1)

Hope this can help.

Regards
Peter Kwan