Skip to content
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

Customize tooltip with callback function #198

Open
RHaughton opened this issue Jul 22, 2021 · 1 comment
Open

Customize tooltip with callback function #198

RHaughton opened this issue Jul 22, 2021 · 1 comment
Labels
question Further information is requested

Comments

@RHaughton
Copy link

Hello,

Is there a way to customize the tooltip values? I would for example want to transform 0.43 to 43%.

I managed to do it for the linear cartesian ticks using the callback function, but for tooltips I can't seem to find the Callback function which is used in Chart.js.

Many thanks for your help and for your work.

Best,
R.

@RHaughton RHaughton added the question Further information is requested label Jul 22, 2021
@evangunter
Copy link

Unrelated, but how did you add the callback to the ticks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants