mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
[chart.js] Added Line Chart Options (#18704)
* Added Line Chart Options http://www.chartjs.org/docs/latest/charts/line.html#configuration-options showLines - Boolean - If false, the lines between points are not drawn. spanGaps - Boolean - If false, NaN data causes a break in the line. * Moved location of property * Update definitions by
This commit is contained in:
committed by
Mohamed Hegazy
parent
fda95324d1
commit
43cd9ff2b9
3
types/chart.js/index.d.ts
vendored
3
types/chart.js/index.d.ts
vendored
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Alberto Nuti <https://github.com/anuti>
|
||||
// Fabien Lavocat <https://github.com/FabienLavocat>
|
||||
// KentarouTakeda <https://github.com/KentarouTakeda/>
|
||||
// Larry Bahr <https://github.com/larrybahr/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -158,6 +159,8 @@ declare namespace Chart {
|
||||
animation?: ChartAnimationOptions;
|
||||
elements?: ChartElementsOptions;
|
||||
scales?: ChartScales;
|
||||
showLines?: boolean;
|
||||
spanGaps?: boolean;
|
||||
cutoutPercentage?: number;
|
||||
circumference?: number;
|
||||
rotation?: number;
|
||||
|
||||
Reference in New Issue
Block a user