Skip to content

Commit

Permalink
fix(scrollbar): Scale option tickMethod doesn't work when enable scro…
Browse files Browse the repository at this point in the history
…llbar (#3747)

The tickMethod option is drop when enable scrollbar, only min,max,type,foratter are passed.

Co-authored-by: Yuran Ou <yuran.ou@citrix.com>
  • Loading branch information
ouyuran and yuranou committed Dec 29, 2021
1 parent 2c92f5d commit cb3ad04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chart/controller/scrollbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export default class Scrollbar extends Controller<ScrollbarOption> {
type: cfg.type as ScaleOption['type'],
min: cfg.min,
max: cfg.max,
tickMethod: cfg.tickMethod
});
});
this.view.filter(this.xScaleCfg.field, (val) => {
Expand Down

0 comments on commit cb3ad04

Please sign in to comment.