-
Notifications
You must be signed in to change notification settings - Fork 652
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
Describe the bug
After panning a multi Y-axis Cartesian chart, one of the y-axis is changed unintensionally.
A Carteisan chart with DateTimePoints and 1 x axes and 2 yaxis and ZoomMode=Both. The line series and axis use binding to the view model.
One y-axis has MinLimit=-1 and Maxlimit=3, the other axis has MinLimit = -3 and MaxLimit=1.
To Reproduce
Steps to reproduce the behavior:
- Create sine waves between -1 and 1 for both line series.
- Set the MinLimit and MaxLimit of the axes as described above. You see 2 sine waves one above the other.
- Start panning with the mouse. The sine waves move as expected.
- Release the mouse button. The two sine waves are drawn at the same position instead of one above the other. You can see one of the y axes ranges has changed, although the MinLimit and MaxLimit haven't been changed by the program.
Expected behavior
Two sine waves are shown one above the other.
Screenshots
Before and during panning:

After panning, one axis has changed:

Desktop (please complete the following information):
- OS: Windows 11
- Browser not applicable. Is a .Net Framework 4.8 WPF app.
- Version LiveCharts2 2.0.0 -rc5.4
Smartphone (please complete the following information):
N.A.
Additional context
I include a sample sample program to reproduce the behaviour.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation