Update time scale options

- add `minUnit` option
- change `round` option to only accept TimeUnits
- remove deprecated `format` option
This commit is contained in:
Lauri Koskela
2017-03-02 18:02:52 +02:00
parent 5a239fffbe
commit 52031f3484
+2 -2
View File
@@ -410,16 +410,16 @@ declare namespace Chart {
}
export interface TimeScale extends ChartScales {
format?: string;
displayFormats?: TimeDisplayFormat;
isoWeekday?: boolean;
max?: string;
min?: string;
parser?: string | ((arg: any) => any);
round?: string;
round?: TimeUnit;
tooltipFormat?: string;
unit?: TimeUnit;
unitStepSize?: number;
minUnit?: TimeUnit;
}
export interface RadialLinearScale {