Charts and ReferenceArea #4622
Unanswered
KresimirJurkovic
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First off, thank you goes to everyone ready to help out developers working with this freakin fantastic library!
My question is as follows (first one was either not posted or I messed something up):
Has anyone had any luck with adding recharts ReferenceArea component to Shadcn charts? I tried to follow this example:
https://recharts.org/en-US/examples/HighlightAndZoomLineChart
But unfortunately, nothing was being rendered on the chart, even though the event handlers were picking up correct values and were passed to the props of ReferenceArea from recharts. Any simple example will do, thank you!
Beta Was this translation helpful? Give feedback.
All reactions