mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
fix: add pointStyleWidth to type definitions (#11383)
This commit is contained in:
parent
57bbd8229d
commit
f2cfb933b9
4
src/types/index.d.ts
vendored
4
src/types/index.d.ts
vendored
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user