ScottPlot / ScottPlot/ScottPlot

AxesChanged event not firing when Right axis changed by user with mouse (left axis and bottom locked)

Open
#5,027 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.8k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Issue:

Is there something I am missing? I am catching the AxesChanged event fine when the user changes the bottom or left axes using the mouse (code detects and locks other axes when dragging in the margin for one axis).

However if there is a right axis in use and the user changes that, then the AxesChanged event does not fire. (As I said bottom axis and left axis changes trigger the event, but not right axis)

ScottPlot4 and WinForms

ScottPlot Version: 4.1.71 from NuGet

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in ScottPlot4 with WinForms, version 4.1.71, using a right axis while the left and bottom axes are locked. Trace the mouse-driven axis-change path and AxesChanged handling, then verify that changing the right axis fires the event consistently without breaking the existing left and bottom behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.