Victory line with multiple colors #2517
Unanswered
poPaTheGuru
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to create a Victory line that have multiple colors (red and blue based on a condition). (open also a SO question here: SO question
This is my component:
And the result is like this (the dashed line):
I have the next condition: where the dashed line is under the continuous line, the dashed line should remain blue, while where is over the continuous line it should be red, like this:
I tried with a custom
SVG Line
(at leas to draw the line first) but it was not successful:Can anyone help me with this? Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions