mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-14 04:06:49 +01:00
fix: add pointStyleWidth to type definitions (#11383)
This commit is contained in:
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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user