Zoom/Fit on specific axis

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
djl
Posts: 8
Joined: Tue Apr 30, 2013 11:47 am

Zoom/Fit on specific axis

Post by djl » Thu Oct 10, 2013 5:06 pm

Hi,

I have a chart with two Yaxis.
One is on the left side, one is right.

Now I want to use the functions zoom (e.g. by mouse/gesture) and Fit (Yaxes.Fit / ViewXY.AutoFit) to work on left Yaxis only (and X axis).
Right Yaxis should be fixed to one defined range for all time!

:?: Is it possible to disable range change on one Yaxis?

(Second question:
:?: Is it possible to have one axis on left over the complete height and several stacked yaxis on the right?
I think it is not but this could be a nice feature for the future :D )

Thanks and regards
Dirk

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

Re: Zoom/Fit on specific axis

Post by ArctionPasi » Thu Oct 10, 2013 11:41 pm

Hi there,

1. YAxis has AllowAutoFit property. By setting False to the axis on the right, you get the result you are looking for. :P

2. Not unfortunately possible currently. We'll think about this in future versions. :|
LightningChart Support Team, PT

djl
Posts: 8
Joined: Tue Apr 30, 2013 11:47 am

Re: Zoom/Fit on specific axis

Post by djl » Mon Oct 28, 2013 3:25 pm

Sorry I don't get it running.
If I set AllowAutoYFit of my second YAxes to false nothing changes. It is still possible to zoom on this second YAxes.

I want to have minimum and maximum of this second YAxes to be fix.
Can you give me an example?

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

Re: Zoom/Fit on specific axis

Post by ArctionPasi » Mon Oct 28, 2013 6:00 pm

I'm sorry I gave you wrong info. That property only applies when automatic Y fitting is made with a timer (ViewXY.ZoomPanOptions.AutoYFit.Enabled) :roll:

I'll try to find a workaround or investigate the possibilities to add new properties to the chart.
LightningChart Support Team, PT

djl
Posts: 8
Joined: Tue Apr 30, 2013 11:47 am

Re: Zoom/Fit on specific axis

Post by djl » Tue Oct 29, 2013 9:10 am

Thanks, I appreciate your help. :)
It's a very important feature for me...

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

Re: Zoom/Fit on specific axis

Post by ArctionPasi » Tue Oct 29, 2013 7:29 pm

We can add new properties for X and Y axes, that will toggle on/off the zooming and panning support, per axis. Version 6.0 in Q1/2014.
LightningChart Support Team, PT

Post Reply