-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
legend should take svg patterns #721
Comments
Hi Thanks for the solution for SVG texturing. I just got the same issue and it looks like the one you provided works. Just want to chase up, does Legend now supports svg pattern? Thanks in advance Martin |
@Wattenberger This seems similar to the stuff you were doing, wanna take a look? |
Yes! #994 actually solves this The default path is a bit thin to show off a pattern like that, but if you also add a higher
|
would love to see what you're building with react-vis @Wattenberger @brandonmp |
@Wattenberger awesome! Will you add an example of this to the docs so we can show it off? |
Sure thing! PR here #1001 |
I can fill series with SVG patterns like so:
However, when I try the same with the
color
prop of Legend items, the item doesn't render:this is what legend looks like when
color='blue'
:The text was updated successfully, but these errors were encountered: