Skip to content

Commit f2cfb93

Browse files
authored
fix: add pointStyleWidth to type definitions (#11383)
1 parent 57bbd82 commit f2cfb93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/types/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,6 +2399,10 @@ export interface LegendOptions<TType extends ChartType> {
23992399
* @default 10
24002400
*/
24012401
padding: number;
2402+
/**
2403+
* If usePointStyle is true, the width of the point style used for the legend.
2404+
*/
2405+
pointStyleWidth: number;
24022406
/**
24032407
* Generates legend items for each thing in the legend. Default implementation returns the text + styling for the color box. See Legend Item for details.
24042408
*/

0 commit comments

Comments
 (0)