-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add shadow and TextIfFits in charting
- Loading branch information
1 parent
48615ea
commit 740b67b
Showing
19 changed files
with
536 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
740b67b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improvements in Charting
Thanks to @JafarMirzaie chartings have been improved in three areas:
CSS Hover effect on each clickable element:
By using CSS on SVG we are limited to the possible effects, but we don't need to make a React re-render to it's very fast.
All the SVG charts have been updated!.
TextIfFits
allows to prevent text labels that could not fit in the availabled space and could not be make smaller using ellipsis (like numbers).Default format for
Sum
is now"0.#K"
that get's translated to Javascript toIntl.NumberFormat({ notation: "compact", compactDisplay: "short" })
making big numbers like104362432
become just104.4M
.