Skip to content

XYPlot: When autoscale is disabled, apply axis range from model#3825

Merged
kasemir merged 1 commit into
masterfrom
xyplot_revert_from_autoscale
Jun 9, 2026
Merged

XYPlot: When autoscale is disabled, apply axis range from model#3825
kasemir merged 1 commit into
masterfrom
xyplot_revert_from_autoscale

Conversation

@kasemir

@kasemir kasemir commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Used to first update model with last plot range, overriding what's in the model. This complicates scripts or rules because their values are ignored.

Fixes #3824.

Note that source file was found in git with CRLF line endings.
This also updates to LF line endings.
"Hide whitespace" shows actual code change.

  • Testing:
    Example file
    xy_plot_bob.txt
    now allows switching autoscale on/off and manually configured min..max range is
    applied as soon as autoscale is turned off

Used to first update model with last plot range, overriding what's in the model.
This complicates scripts or rules because their values are ignored
@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2026

Copy link
Copy Markdown

@kasemir kasemir merged commit ff92ee9 into master Jun 9, 2026
5 checks passed
@kasemir kasemir deleted the xyplot_revert_from_autoscale branch June 9, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting XY Plot scale min/max from script requires multiple runs

1 participant