Skip to content

Commit

Permalink
fix: fix isValidScale did not include threshold scale
Browse files Browse the repository at this point in the history
  • Loading branch information
xuefei1313 committed Sep 20, 2023
1 parent e23d33d commit 3fff466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vscale/src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export function isValidScaleType(type: string) {
case ScaleEnum.Ordinal:
case ScaleEnum.Point:
case ScaleEnum.Band:
case ScaleEnum.Threshold:
return true;
default:
return false;
Expand Down

0 comments on commit 3fff466

Please sign in to comment.