Legend margin
#1080
Replies: 2 comments 6 replies
-
Like so? color: {
domain: stateage.ages,
scheme: "spectral",
legend: true,
marginLeft: 40
}, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, that works for the left margin but top, right, and bottom margins are ignored. I've updated the notebook to include these. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've looked at the docs but can't seem to get the legend margin working. I've tried a few things including adding a legend object to the style object as you can see here:
https://observablehq.com/@dgwyer/untitled/2
Not sure what I'm doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions