Make count in RangeSelectorButton optional

Referring to http://api.highcharts.com/highstock#rangeSelector.buttons when type is 'all' you can omit count.
This commit is contained in:
Ali Sabzevari
2015-10-06 10:53:46 +03:30
parent 05557455c4
commit 91b7511639
+2 -2
View File
@@ -30,7 +30,7 @@ interface HighstockNavigatorOptions {
interface RangeSelectorButton {
type: string; //Defines the timespan, can be one of 'millisecond', 'second', 'minute', 'day', 'week', 'month', 'ytd' (year to date), 'year' and 'all'.
count: number;
count?: number;
text: string;
dataGrouping?: any; //not sure how this works
}
@@ -117,4 +117,4 @@ interface JQuery {
highcharts(type: string): HighchartsChartObject;
highcharts(type: string, options: HighchartsOptions): JQuery;
highcharts(type: string, options: HighchartsOptions, callback: (chart: HighchartsChartObject) => void): JQuery;
}
}