ViewXY: Axis dependant .FitView()?

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

ViewXY: Axis dependant .FitView()?

Post by greggorob64 » Mon Jul 14, 2014 2:25 pm

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!

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: ViewXY: Axis dependant .FitView()?

Post by ArctionPasi » Mon Jul 14, 2014 3:50 pm

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).
LightningChart Support Team, PT

greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

Re: ViewXY: Axis dependant .FitView()?

Post by greggorob64 » Mon Jul 14, 2014 7:15 pm

Thanks; I should be able to use this to accomplish what i'm working towards.

Post Reply