Hi,
I'm using the actual V7.2 controls.
There is a problem if SetRange for an xAxis is used if both parameters are negative.
Example:
chartAxisX.SetRange(-20, -18);
The axis will be set to "-20, 0". If I move the axis by mouse it works, just the SetRange command fails.
Best regards,
Jürgen
Axis SetRange problem
Moderator: Queue Moderators
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: Axis SetRange problem
Hello Jürgen,
I am guessing that ScrollMode and ScrollPosition on x-axis are interfering.
Please set axisX.ScrollMode = XAxisScrollMode.None; before setting range.
Alternative, axisX.ScrollPosition should not be bigger than Xmax (default ScrollPosition=0).
All the best.
I am guessing that ScrollMode and ScrollPosition on x-axis are interfering.
Please set axisX.ScrollMode = XAxisScrollMode.None; before setting range.
Alternative, axisX.ScrollPosition should not be bigger than Xmax (default ScrollPosition=0).
All the best.
Re: Axis SetRange problem
Hi,
ScrollMode = XAxisScrollMode.None worked for me.
Thank you very much...
ScrollMode = XAxisScrollMode.None worked for me.
Thank you very much...