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

Message ListMessage List     Post MessagePost Message

  Manual Y AXIS setting
Posted by Dave McLaughlin on Aug-26-2022 08:09
How do you set the y-axis to manual range valves? I can only seem to set this to auto but I would like to set this to 0 - 5000 for example.

  Re: Manual Y AXIS setting
Posted by Peter Kwan on Aug-29-2022 16:30
Hi Dave,

You can use Axis.setLinearScale or Axis.setLinearScale2 to specify the scale. For example, in C++:

c->yAxis()->setLinearScale(0, 5000, 1000);


(Note: The above links are for ChartDirector for C++. The same methods are also available in other programming language editions of ChartDirector.)

Best Regards
Peter Kwan