@types/google.visualization
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -1212,2 +1212,84 @@ // Type definitions for Google Visualisation Apis | ||
//#endregion | ||
//#region calendar | ||
// https://developers.google.com/chart/interactive/docs/gallery/calendar | ||
export class Calendar extends ChartBase { | ||
draw(data: DataTable | DataView, options?: CalendarOptions): void; | ||
getBoundingBox(id: string): Object; | ||
getSelection(): any[]; | ||
setSelection(): void; | ||
clearChart(): void; | ||
} | ||
// https://developers.google.com/chart/interactive/docs/gallery/calendar#Configuration_Options | ||
export interface CalendarOptions { | ||
calendar: { | ||
cellColor: Object; | ||
cellSize: number; | ||
dayOfWeekLabel: Object; | ||
dayOfWeekRightSpace: number; | ||
daysOfWeek: string; | ||
focusedCellColor: Object; | ||
monthLabel: Object; | ||
monthOutlineColor: Object; | ||
underMonthSpace: number; | ||
underYearSpace: number; | ||
unusedMonthOutlineColor: Object; | ||
}; | ||
colorAxis?: { | ||
colors: string[]; | ||
maxValue: number; | ||
minValue: number; | ||
values: number[]; | ||
}; | ||
forceIFrame?: boolean; | ||
height?: number; | ||
noDataPattern?: Object; | ||
tooltip: { | ||
isHtml: boolean; | ||
}; | ||
width?: number; | ||
} | ||
//#endregion | ||
//#region Map | ||
// https://developers.google.com/chart/interactive/docs/gallery/map | ||
export class Map extends CoreChartBase { | ||
draw(data: DataTable | DataView, options?: MapOptions): void; | ||
getAction(actionID: string): void; | ||
getImageURI(): string; | ||
getSelection(): any[]; | ||
getHAxisValue(position: number, axisIndex?: number): number; | ||
getVAxisValue(position: number, axisIndex?: number): number; | ||
getXLocation(position: number, axisIndex?: number): number; | ||
getYLocation(position: number, axisIndex?: number): number; | ||
removeAction(actionID: number): void; | ||
setAction(action: number): void; | ||
setSelection(): void; | ||
clearChart(): void; | ||
} | ||
// https://developers.google.com/chart/interactive/docs/gallery/map#Configuration_Options | ||
export interface MapOptions { | ||
enableScrollWheel?: boolean; | ||
icons?: Object; | ||
lineColor?: string; | ||
lineWidth?: number; | ||
maps: { | ||
mapTypeId: { | ||
name?: string; | ||
styles?: any[]; | ||
} | ||
}; | ||
mapType?: string; | ||
mapTypeIds?: any[]; | ||
showInfoWindow?: boolean; | ||
showLine?: boolean; | ||
showTooltip?: boolean; | ||
useMapTypeControl?: boolean; | ||
zoomLevel?: number; | ||
} | ||
//#endregion | ||
//#region Events | ||
@@ -1214,0 +1296,0 @@ |
{ | ||
"name": "@types/google.visualization", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "TypeScript definitions for Google Visualisation Apis", | ||
@@ -52,4 +52,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1c98a1cc1c51e77c0803cd0bd58afe023898951d4e33abea0c960f93a38b75ff", | ||
"typesPublisherContentHash": "b6a6b4f94a5660808407191bb65884e22ade39f5f02ad3b1737c99e72172a5c7", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 07 May 2019 18:40:11 GMT | ||
* Last updated: Mon, 13 May 2019 22:55:05 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: google |
64572
1391