Allow VictoryLabel to render multiple text inline #893
Labels
Note: Good first issue 🤩
Good issue for new contributors
Type: Enhancement ✏️
An enhancement or feature proposal that will be addressed after the next release
Checklist
I've read through the Docs and Guides to make sure this functionality doesn't already exist
I've searched open issues to make sure I'm not opening a duplicate issue
Description
I would like for there to be an option to have
VictoryLabel
render multiple</tspan>
elements inline as opposed to on a new line.I'm currently making a bar chart based off this design:
(screenshot from Sketch)
So I have two chunks of text: "% of Target", "44% for 2017". My first impulse was to use
Victory Label
. I wrote this jsx:The rendered output looks like this:
(screenshot from Chrome)
Maybe there could be a
inline
attribute to tellVictoryLabel
to render inline instead of multiline.The text was updated successfully, but these errors were encountered: