Skip to content

Commit

Permalink
fix(xy): render gridlines behind axis (opensearch-project#1204)
Browse files Browse the repository at this point in the history
The axis need to be rendered after the gridlines to avoid conflicts when using different colors/styles

fix #1203
  • Loading branch information
ron-debajyoti authored Jun 18, 2021
1 parent 8cb6876 commit bf9ccbd
Show file tree
Hide file tree
Showing 18 changed files with 5 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ export function renderXYChartCanvas2d(
}
},
(ctx: CanvasRenderingContext2D) => {
renderAxes(ctx, {
renderGrids(ctx, {
axesSpecs,
perPanelAxisGeoms,
renderingArea,
debug,
perPanelGridLines,
axesStyles,
sharedAxesStyle,
});
},
(ctx: CanvasRenderingContext2D) => {
renderGrids(ctx, {
renderAxes(ctx, {
axesSpecs,
perPanelAxisGeoms,
renderingArea,
perPanelGridLines,
debug,
axesStyles,
sharedAxesStyle,
});
Expand Down

0 comments on commit bf9ccbd

Please sign in to comment.