Overwrite the tooltip label #107
-
Is there a way to change the label for the tooltip? In the docs, I cannot find a way of changing that without creating a brand new tooltip. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@darthzeran Overriding the custom Tooltip is the recommended way to go, here's a codesandbox showing how to override the default Tooltips with a custom component. https://codesandbox.io/s/github/tannerlinsley/react-charts/tree/next/examples/custom-tooltip Does this help? |
Beta Was this translation helpful? Give feedback.
-
Due to a massive overhaul and rewrite of React Charts to TypeScript and a massively upgraded public API, this discussion is being marked as answered for triage. The latest version can be tested via the If, after testing or playing with the v3 beta, you believe this discussion is still relevant or unanswered, feel free to mark it as such and continue the discussion. |
Beta Was this translation helpful? Give feedback.
Due to a massive overhaul and rewrite of React Charts to TypeScript and a massively upgraded public API, this discussion is being marked as answered for triage. The latest version can be tested via the
react-charts@beta
tag. Documentation is in the process of being upgraded, but thankfully, everything is fully typed now, so you can explore the API that way for now.If, after testing or playing with the v3 beta, you believe this discussion is still relevant or unanswered, feel free to mark it as such and continue the discussion.