Skip to content

Commit 34f81b6

Browse files
authored
Merge pull request #19424 from zhaxnb/master
Fixed the types of barMinWidth and barMaxWidth
2 parents 5b0c096 + fde32af commit 34f81b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chart/bar/BaseBarSeries.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ export interface BaseBarSeriesOption<StateOption, ExtraStateOption extends State
5252
/**
5353
* Max width of bar. Defaults to 1 on cartesian coordinate system. Otherwise it's null.
5454
*/
55-
barMaxWidth?: number
55+
barMaxWidth?: number | string
5656

57-
barMinWidth?: number
57+
barMinWidth?: number | string
5858

5959
/**
6060
* Bar width. Will be calculated automatically.

0 commit comments

Comments
 (0)