Skip to content

feat: add per-plot axis overrides - #3

Merged
nmrtist merged 1 commit into
mainfrom
feat/manual-axis-overrides
Jul 22, 2026
Merged

feat: add per-plot axis overrides#3
nmrtist merged 1 commit into
mainfrom
feat/manual-axis-overrides

Conversation

@nmrtist

@nmrtist nmrtist commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Context

Axis labels and numeric ranges were derived entirely from dataset metadata. Users could zoom a plot, but could not persist publication-specific axis titles or exact full-range bounds across figure rebuilds.

Changes

  • Add per-plot X/Y title and numeric range overrides while retaining automatic defaults.
  • Apply overrides after figure reconstruction and before viewport projection, so they survive chart and data rebuilds.
  • Keep viewport zoom and pan inside the overridden full range, with predictable reset and auto-Y behavior.
  • Integrate override changes with undo/redo and coalesce inspector editing gestures into single actions.
  • Persist overrides through the versioned project DTO with defaults for existing projects.
  • Add an Axes section to the object inspector, including clearable inactive ranges for categorical or hidden axes.
  • Keep inspector rendering safe during canvas and selection transition frames.
  • Document axis controls in the English and Simplified Chinese user guides.

Testing

  • cargo pr-check
  • npm run build in docs/
  • cargo release-build
  • Loaded and rendered a representative 16 x 40,960 JEOL DOSY JDF file in the release application.

@nmrtist
nmrtist merged commit 6a12ae0 into main Jul 22, 2026
11 checks passed
@nmrtist
nmrtist deleted the feat/manual-axis-overrides branch July 22, 2026 08:45
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant