Skip to content

Commit

Permalink
fix: add pointStyleWidth to type definitions (#11383)
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Jul 1, 2023
1 parent 57bbd82 commit f2cfb93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2399,6 +2399,10 @@ export interface LegendOptions<TType extends ChartType> {
* @default 10
*/
padding: number;
/**
* If usePointStyle is true, the width of the point style used for the legend.
*/
pointStyleWidth: number;
/**
* Generates legend items for each thing in the legend. Default implementation returns the text + styling for the color box. See Legend Item for details.
*/
Expand Down

0 comments on commit f2cfb93

Please sign in to comment.