Skip to content

Commit

Permalink
Merge pull request #19424 from zhaxnb/master
Browse files Browse the repository at this point in the history
Fixed the types of barMinWidth and barMaxWidth
  • Loading branch information
Ovilia authored Dec 20, 2023
2 parents 5b0c096 + fde32af commit 34f81b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chart/bar/BaseBarSeries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ export interface BaseBarSeriesOption<StateOption, ExtraStateOption extends State
/**
* Max width of bar. Defaults to 1 on cartesian coordinate system. Otherwise it's null.
*/
barMaxWidth?: number
barMaxWidth?: number | string

barMinWidth?: number
barMinWidth?: number | string

/**
* Bar width. Will be calculated automatically.
Expand Down

0 comments on commit 34f81b6

Please sign in to comment.