diff --git a/src/chart/bar/BarView.ts b/src/chart/bar/BarView.ts index 54cc6ec72e..a34cc153a0 100644 --- a/src/chart/bar/BarView.ts +++ b/src/chart/bar/BarView.ts @@ -1176,7 +1176,8 @@ function createLarge( el.barWidth = barWidth; group.add(el); el.useStyle(data.getVisual('style')); - + // Stroke is rendered first to avoid overlapping with fill + el.style.stroke = null; // Enable tooltip and user mouse/touch event handlers. getECData(el).seriesIndex = seriesModel.seriesIndex; diff --git a/test/bar-large-border-fill.html b/test/bar-large-border-fill.html new file mode 100644 index 0000000000..b6463ca20c --- /dev/null +++ b/test/bar-large-border-fill.html @@ -0,0 +1,120 @@ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +