Skip to content

Force ascending axes in scatter vis#1989

Open
axelboc wants to merge 1 commit intomainfrom
scatter-ascending
Open

Force ascending axes in scatter vis#1989
axelboc wants to merge 1 commit intomainfrom
scatter-ascending

Conversation

@axelboc
Copy link
Contributor

@axelboc axelboc commented Mar 18, 2026

Fix #1974

  • < NX Scatter > Force ascending axes regardless of order of axes values.
  • [ScatterVis] Force ascending axes regardless of order of axes values.
  • getAxisDomain, useAxisDomain: add forceAscending option to force computed domain to remain ascending regardless of order of axis values.
    • ⚠️ Breaking change: getAxisDomain and useAxisDomain now accept an options object as second parameter.
image

I've updated our mock file with descending x values but I'll wait for #1987 to be merged before updating the corresponding screenshot.

image

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.

NXdata scatter axes direction depends on the axes datasets

1 participant