Skip to content

tooltipConfig Example for LineChart #6335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
AFK-Python opened this issue Sep 9, 2024 · 2 comments · Fixed by #6410
Closed
1 task done

tooltipConfig Example for LineChart #6335

AFK-Python opened this issue Sep 9, 2024 · 2 comments · Fixed by #6410

Comments

@AFK-Python
Copy link

Describe the documentation issue

Documentation is missing

Description

I am trying to find an example of how to use the tooltipConfig for the LineChart component, but am struggling to get a working example. I do not see a working example of this on the documentation site, or for any reference on the tooltipConfig.

Adding this to the documentation and providing an example would be much appreciated.

Link to Documentation Page

https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/getting-started--docs

Declaration

  • I’m not disclosing any internal or sensitive information.
@MarcusNotheis
Copy link
Contributor

Hey @AFK-Python,
I've created a small Stackblitz example of how to configure the tooltip formatter function via the tooltipConfig prop:
https://stackblitz.com/edit/github-onzrax?file=package.json,src%2FApp.tsx

In general, you can use all properties which are listed here.

I'll keep this issue open until we have enhanced our documentation :)

@AFK-Python
Copy link
Author

Thanks @MarcusNotheis!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

2 participants