Hi,
the PointLineSeries has to adjust automatically to the Y axis.
Currently I have implemented it by creating a timer which calls once time in a second an Axis.Fit(...)
The problem is that the current focus getting lost when the method were called
for example when user drags the legend box. The legend box will be dropped at current location
when the Axis.Fit(...) method were called.
Is there a better way to do this?
thank you very much
Auto scale y axis
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Auto scale y axis
Probably you are using some other timer than System.Windows.Forms.Timer? This timer waits until UI thread is free for fitting.
Configuring ZoomPanOptions.AutoYFit like this, works correctly at least: It's using System.Windows.Forms.Timer under the hood.
Configuring ZoomPanOptions.AutoYFit like this, works correctly at least: It's using System.Windows.Forms.Timer under the hood.
LightningChart Support Team, PT
Re: Auto scale y axis
oh...I see.
Ok, it works fine for me, thank you.
Ok, it works fine for me, thank you.