Skip to content

Commit

Permalink
fix(core): fix resize grid backdrop
Browse files Browse the repository at this point in the history
  • Loading branch information
natashadecoste committed Aug 15, 2019
1 parent acd0c3a commit 8e1211e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/core/src/base-axis-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,14 +505,14 @@ export class BaseAxisChart extends BaseChart {
*/
drawBackdrop() {
const backdrop = Tools.appendOrSelect(this.innerWrap, "rect.chart-grid-backdrop");
const gridContainer = this.getGridContainer();

backdrop
.attr("x", gridContainer.x)
.attr("y", gridContainer.y)
.attr("width", gridContainer.width)
.attr("height", gridContainer.height)
.lower();
const gridContainer = this.getGridContainer();

backdrop
.attr("x", gridContainer.x)
.attr("y", gridContainer.y)
.attr("width", gridContainer.width)
.attr("height", gridContainer.height)
.lower();
}

addOrUpdateThresholds(yGrid, animate?) {
Expand Down

0 comments on commit 8e1211e

Please sign in to comment.