Merge pull request #2359 from fivetran/google.visualization

Google.visualization small fixes and eliminated some redundant types.
This commit is contained in:
Bart van der Schoor
2014-06-18 21:01:24 +02:00
+9 -29
View File
@@ -159,40 +159,19 @@ declare module google {
enableRegionInteractivity?: boolean;
height?: number;
keepAspectRatio?: boolean;
legend?: GeoChartLegend;
legend?: ChartLegend;
region?: string;
magnifyingGlass?: GeoChartMagnifyingGlass;
markerOpacity?: number;
resolution?: string;
sizeAxis?: GeoChartAxis;
tooltip?: GeoChartTooltip;
sizeAxis?: ChartSizeAxis;
tooltip?: ChartTooltip;
width?: number;
}
export interface GeoChartAxis {
maxSize?: number;
maxValue?: number;
minSize?: number;
minValue?: number;
}
export interface GeoChartTextStyle {
color?: string;
fontName?: string;
fontSize?: number;
bold?: boolean;
italic?: boolean;
}
export interface GeoChartLegend {
numberFormat?: string;
textStyle?: GeoChartTextStyle;
}
export interface GeoChartMagnifyingGlass {
enable?: boolean;
zoomFactor?: number;
}
export interface GeoChartTooltip {
textStyle?: GeoChartTextStyle;
trigger?: string;
}
export interface GeoChartRegionClickEvent {
region: string;
}
@@ -276,6 +255,7 @@ declare module google {
maxLines?: number;
position?: string;
textStyle?: ChartTextStyle;
numberFormat?: string;
}
// https://google-developers.appspot.com/chart/interactive/docs/animation
@@ -766,10 +746,10 @@ declare module google {
}
export interface ChartSizeAxis {
maxSize: number;
maxValue: number;
minSize: number;
minValue: number;
maxSize?: number;
maxValue?: number;
minSize?: number;
minValue?: number;
}
//#endregion
@@ -864,7 +844,7 @@ declare module google {
// https://google-developers.appspot.com/chart/interactive/docs/gallery/timeline#Configuration_Options
export interface TimelineOptions {
avoidOverlappingGridLines?: boolean;
backgroundColor?: string;
backgroundColor?: any;
colors?: string[];
enableInteractivity?: boolean;
forceIFrame?: boolean;