Merge pull request #6157 from alisabzevari/master

Make count in RangeSelectorButton optional in highstock.d.ts
This commit is contained in:
Masahiro Wakame
2015-10-07 02:08:55 +09:00
+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;
}
}