From 402f9a04111b198203277334cc693aa7ba5e72fd Mon Sep 17 00:00:00 2001 From: Adam Robins Date: Fri, 6 Mar 2015 14:54:03 +0000 Subject: [PATCH] Updating the TODO on the chartResetButton Ran into this issue today, not having a strongly defined theme for the reset zoom button. Didn't go any further than the first level as the states are branches of HTML elements which are not highcharts specific. --- highcharts/highcharts.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/highcharts/highcharts.d.ts b/highcharts/highcharts.d.ts index 98e96e2ef..3b0801651 100644 --- a/highcharts/highcharts.d.ts +++ b/highcharts/highcharts.d.ts @@ -191,7 +191,15 @@ interface HighchartsBoolOrShadow { interface HighchartsChartResetZoomButton { position: HighchartsPosition; relativeTo?: string; - theme?: any; //TO DO + theme?: HighchartsChartResetZoomButtonTheme; //TO DO +} + +interface HighchartsChartResetZoomButtonTheme { + fill?:string; //css HEX colours. + stroke?: string;//css HEX colours. + r?: number; // Radius % + states?: any; // HTML element states eg: hover, with css attributes in object. + display?:string; // css attr eg: 'none' } interface HighchartsChartOptions {