fix: unit test type problem

This commit is contained in:
Howard Zhang 2023-09-11 07:36:38 +08:00 committed by Weixing Zhang
parent 69f03c6249
commit 1b587589d5

View File

@ -26,7 +26,7 @@ export class BandAxisMixin {
let parentScale = this._scale;
this._scales.forEach((scale, i) => {
if (i > 0) {
scale.range([0, parentScale.bandwidth()], false);
scale.range([0, parentScale.bandwidth()]);
parentScale = scale;
}
});