-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(barSeries): error rendering bars with negative log scale (#2407)
This PR mainly fixes the rendering of bars on a negative log scale. Also fixes the tooltip for banded bar charts. In addition this PR fixes some other issues including - Banded bar charts missing lower bound series in tooltip and legend - Wrong highlighting of tooltips value and highlighted bar geometries, particularly for banded bar charts. - Banded series items in tooltip were being shuffled according to the distance to the cursor position. Now I pre-sort them to not abruptly switch. - The Chrome bug from #1053 associated with filling areas containing sharp corners, is now fixed and since using the shared `getY1ScaledValueFn` and `getY0ScaledValueFn` functions I just removed this logic to avoid checking.
- Loading branch information
1 parent
da0b921
commit 4ab6d8f
Showing
22 changed files
with
2,722 additions
and
166 deletions.
There are no files selected for viewing
Binary file added
BIN
+16.5 KB
...est.ts-snapshots/baselines/test-cases/log-with-negative-values-chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.68 KB
...ld-not-render-min-bar-heights-for-log-scale-values-at-baseline-chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.4 KB
...uld-correctly-render-negative-values-from-baseline-when-banded-chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18 KB
...ld-correctly-render-negative-values-from-baseline-when-stacked-chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+25.8 KB
...-scales/should-correctly-render-tooltip-values-for-banded-bars-chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.