Skip to content

Conversation

@benmccann
Copy link
Contributor

Closes #7563

This is an alternative to #7615

I renamed value to formattedValue to make clear that it's a formatted string and differentiate from the new dataPoint. This was able to simplify a lot of the samples

Copy link
Member

@kurkle kurkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks a lot better to me, should make things easier for many use cases.

etimberg
etimberg previously approved these changes Jul 14, 2020
@etimberg etimberg merged commit 426d8de into chartjs:master Jul 14, 2020
etimberg pushed a commit that referenced this pull request Sep 1, 2020
* Tooltip: add dataPoint and rename value to formattedValue
* Add a test
@kurkle kurkle mentioned this pull request Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improved tooltip callback parameters

3 participants