Skip to content

feat: add the broken function to the linear scale#215

Merged
lxfu1 merged 1 commit intomasterfrom
feat/linear-breaks
Aug 19, 2025
Merged

feat: add the broken function to the linear scale#215
lxfu1 merged 1 commit intomasterfrom
feat/linear-breaks

Conversation

@lxfu1
Copy link
Member

@lxfu1 lxfu1 commented Aug 19, 2025

const scale = new Linear({
  domain: [0, 200],
  breaks: [{ start: 40, end: 100, gap: 0.1 }],
});

增加 scale 的分段能力。配置项如下:

todo

@lxfu1 lxfu1 force-pushed the feat/linear-breaks branch from 1f36f80 to 3ddecad Compare August 19, 2025 07:28
@lxfu1 lxfu1 force-pushed the feat/linear-breaks branch from 1b8ec4c to 7e2be05 Compare August 19, 2025 13:23
@lxfu1 lxfu1 merged commit 79dd593 into master Aug 19, 2025
2 of 4 checks passed
@lxfu1 lxfu1 deleted the feat/linear-breaks branch August 19, 2025 13:26
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.

1 participant