@types/chart.js
Advanced tools
Comparing version 2.9.2 to 2.9.3
@@ -108,6 +108,11 @@ // Type definitions for Chart.js 2.9 | ||
// NOTE: This model is generic with a bunch of optional properties to represent all types of chart models. | ||
// Each chart type defines their own unique model structure so some of these optional properties | ||
// might always have values depending on the chart type. | ||
interface Model { | ||
backgroundColor: string; | ||
borderAlign?: Chart.BorderAlignment; | ||
borderColor: string; | ||
borderWidth?: number; | ||
circumference?: number; | ||
controlPointNextX: number; | ||
@@ -117,6 +122,10 @@ controlPointNextY: number; | ||
controlPointPreviousY: number; | ||
endAngle?: number; | ||
hitRadius: number; | ||
innerRadius?: number; | ||
outerRadius?: number; | ||
pointStyle: string; | ||
radius: string; | ||
skip?: boolean; | ||
startAngle?: number; | ||
steppedLine?: undefined; | ||
@@ -806,2 +815,17 @@ tension: number; | ||
} | ||
// Model used with the doughnut chart | ||
interface DoughnutModel { | ||
backgroundColor: ChartColor; | ||
borderAlign: BorderAlignment; | ||
borderColor: string; | ||
borderWidth: number; | ||
circumference: number; | ||
endAngle: number; | ||
innerRadius: number; | ||
outerRadius: number; | ||
startAngle: number; | ||
x: number; | ||
y: number; | ||
} | ||
} | ||
@@ -808,0 +832,0 @@ |
{ | ||
"name": "@types/chart.js", | ||
"version": "2.9.2", | ||
"version": "2.9.3", | ||
"description": "TypeScript definitions for Chart.js", | ||
@@ -122,4 +122,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "8c8b234c06e99a219fe5d7e17795d18e9aed3d68cd7c51a18d59009db2dea713", | ||
"typesPublisherContentHash": "aa9098b54014820baf0a2ff284cfe8a1f72b67693d5c48ad6adf04cd97ece9f4", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 19 Nov 2019 19:44:53 GMT | ||
* Last updated: Mon, 02 Dec 2019 19:32:15 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `Chart` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34757
740