Charts: Allow for callbacks with tooltip and/or export ChartTooltip in a way that it can be wrapped #6865
aeftimia
started this conversation in
Feature requests
Replies: 1 comment 1 reply
-
You can pass any data to the tooltip component with custom tooltip – https://mantine.dev/charts/area-chart/#custom-tooltip |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I love Mantine's Charts package and I'd like to build some custom functionality that absorbs information gathered from the tooltip to draw on the plot. In particular, I'd like to do this for the AreaChart. Unfortunately, the default tooltip content, ChartTooltip, takes in information passed from hooks executed within AreaChart, so I can't easily import it, wrap it, and pass it back to tooltipProps.content to store the information it gets elsewhere.
Beta Was this translation helpful? Give feedback.
All reactions