@types/chart.js
Advanced tools
Comparing version 2.7.6 to 2.7.7
@@ -47,2 +47,5 @@ // Type definitions for Chart.js 2.7 | ||
}; | ||
// Tooltip Static Options | ||
static Tooltip: Chart.ChartTooltipsStaticConfiguration; | ||
} | ||
@@ -272,3 +275,3 @@ declare class PluginServiceStatic { | ||
itemSort?(itemA: ChartTooltipItem, itemB: ChartTooltipItem): number; | ||
position?: "average"|"nearest"; | ||
position?: string; | ||
caretPadding?: number; | ||
@@ -280,2 +283,8 @@ displayColors?: boolean; | ||
interface ChartTooltipsStaticConfiguration { | ||
positioners: {[mode: string]: ChartTooltipPositioner}; | ||
} | ||
type ChartTooltipPositioner = (elements: any[], eventPosition: Point) => Point; | ||
interface ChartHoverOptions { | ||
@@ -567,2 +576,7 @@ mode?: string; | ||
} | ||
interface Point { | ||
x: number; | ||
y: number; | ||
} | ||
} | ||
@@ -569,0 +583,0 @@ |
{ | ||
"name": "@types/chart.js", | ||
"version": "2.7.6", | ||
"version": "2.7.7", | ||
"description": "TypeScript definitions for Chart.js", | ||
@@ -60,4 +60,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "9e9f95239dcdab62d308cb9e242de65ff6216563d5723efad450a519d5f18cc0", | ||
"typesPublisherContentHash": "969e43096b5dcc615547ac6befdf6aedd304dd0b2b7788410b3140fecf52ae83", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 26 Jan 2018 17:21:18 GMT | ||
* Last updated: Thu, 08 Feb 2018 16:02:15 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Chart |
Sorry, the diff of this file is not supported yet
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
22874
517