Page 1 of 1

ViewXY: Axis dependant .FitView()?

Posted: Mon Jul 14, 2014 2:25 pm
by greggorob64
I have multiple Y Axis overlayed on a single X axis.

I'd like to rescale to have one of the axis automatically set the min\max to the lowest and highest sample in that axis.

Is this possible? ViewXY.FitView() does this to every axis, and I just want one.

Thanks!

Re: ViewXY: Axis dependant .FitView()?

Posted: Mon Jul 14, 2014 3:50 pm
by ArctionPasi
Series have "IncludeInAutoFit" property. Setting it false, the FitView routine skips range check for that series and doesn't auto-fit its axis (if there's no other series configured IncludeInAutoFit = true for that axis).

Re: ViewXY: Axis dependant .FitView()?

Posted: Mon Jul 14, 2014 7:15 pm
by greggorob64
Thanks; I should be able to use this to accomplish what i'm working towards.