fix: add pointStyleWidth to type definitions (#11383)

This commit is contained in:
Evert Timberg 2023-07-01 08:51:53 -04:00 committed by GitHub
parent 57bbd8229d
commit f2cfb933b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
*/