View chart cursor only in the chart's portion in areachart #3597
-
I am trying to use rechart's areachart. There is an option to enable cursor which will show the points plotted on the graph on hover. However I want to show that cursor only uptill where the chart's portion lies and not above that. Is there anyway to achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
ckifer
May 23, 2023
Replies: 1 comment 1 reply
-
In this case I think you can just disable the cursor or potentially use a custom component for the cursor
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bijankundu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this case I think you can just disable the cursor or potentially use a custom component for the cursor
<Tooltip cursor={false} />
<Tooltip cursor={<SomeSvgComponent />} />