Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Sep 14, 2021
1 parent 8b00d3b commit bcd2de9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/core.scale.js
Expand Up @@ -1620,19 +1620,19 @@ export default class Scale extends Element {

return [{
z: gz,
draw(chartArea) {
draw: (chartArea) => {
this.drawBackground();
this.drawGrid(chartArea);
this.drawTitle();
}
}, {
z: gz + 1, // TODO, v4 move border options to its own object and add z
draw() {
draw: () => {
this.drawBorder();
}
}, {
z: tz,
draw(chartArea) {
draw: (chartArea) => {
this.drawLabels(chartArea);
}
}];
Expand Down

0 comments on commit bcd2de9

Please sign in to comment.