Skip to content

Conversation

milosptr
Copy link

@milosptr milosptr commented May 9, 2021

Explanation About What Code Achieves:
  • When people use this chart to display bigger numbers (eg. > 1000, > 10.000) they would be grateful to have an option to shorten those numbers (eg. 1K, 10K, 100K, 1M), and the graph would be more readable with shortening numbers.
Screenshots/GIFs:

Screenshot 2021-05-09 at 10 25 49

Steps To Test:
  • Add formatValuesOverPoints: true in bar or line options object
TODOs:
  • Should be added to the documentation
  • Option could be in global config instead of in barOptions and lineOptions

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

Successfully merging this pull request may close these issues.

2 participants