hi
I have 2 sampledataseries and 2 Y-Axis. The second series is not assigned (voluntary).
Y1
Y2
s1.AssignYAxisIndex = 0
s2.AssignYAxisIndex = -1
if I call setRange on the first Y-Axis Y1, s2.AssignYAxisIndex will be set to 0 :
For Each series As SampleDataSeries In .ViewXY.SampleDataSeries
If series.AssignYAxisIndex >= 0 Then
series.GetMinMaxFromXRange(t1, t2, newMin, newMax, False)
.ViewXY.YAxes(series.AssignYAxisIndex).SetRange(t1 , t2) ' after this line s2.assignYAxisindex =0
end if
next
thanks
setrange bug
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: setrange bug
There seems to be flaw in the software, it shouldn't set AssignYAxisIndex, but it does. We'll fix it to the next maintenance update.
Apologies for the trouble
Apologies for the trouble
LightningChart Support Team, PT