-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(xy): axis title and related simplifications (#1324)
* safer text measurement, no need for manual destroy, no need for class * switched away from the svg measurer in tests and removed both DOM based measurers * [].sort predicate compareByValueAsc equipped to deal with duplicates * simplified and split getSimplePadding * simpler computeAxesSizes, renderBars etc. * removal of remaining shadowing (ctx) => cases * unified horizontal and vertical titles, due to much shared code * unified global and panel titles, due to much shared code * removed parallel redundant switch/case structures etc. from values.bar.ts * replaced two other versions of clamp with clamp * removed the git commit and husky * minor: forEach where a for is essentially that, etc.
- Loading branch information
Showing
37 changed files
with
562 additions
and
1,165 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
72 changes: 0 additions & 72 deletions
72
packages/charts/src/chart_types/xy_chart/renderer/canvas/panels/global_title.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.