Skip to content

Conversation

@mbostock
Copy link
Member

Alternative to #625. This lets you create the standalone scale directly, without requiring either a legend or a chart (but you can pass the scale to either as desired). Fixes #624.

@mbostock mbostock requested a review from Fil December 31, 2021 01:15
Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. I don't think it invalidates #625 though (but it makes it less urgent).

@mbostock mbostock merged commit 72b2adb into main Dec 31, 2021
@mbostock mbostock deleted the mbostock/standalone-scale branch December 31, 2021 16:46
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.

can the standalone Plot.legend returned object have .scale to get the scale Descriptor?

2 participants