From d76dea208f3c06a3a9feab2cc52ecf0b87179942 Mon Sep 17 00:00:00 2001 From: dvorakroth Date: Mon, 7 May 2018 08:24:19 +0000 Subject: [PATCH] chart.js -- both X and Y axes can have time-related options --- types/chart.js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chart.js/index.d.ts b/types/chart.js/index.d.ts index 621152162a..83bf5267fd 100644 --- a/types/chart.js/index.d.ts +++ b/types/chart.js/index.d.ts @@ -510,6 +510,7 @@ declare namespace Chart { gridLines?: GridLineOptions; barThickness?: number; scaleLabel?: ScaleTitleOptions; + time?: TimeScale; beforeUpdate?(scale?: any): void; beforeSetDimension?(scale?: any): void; beforeDataLimits?(scale?: any): void; @@ -529,7 +530,6 @@ declare namespace Chart { interface ChartXAxe extends CommonAxe { categoryPercentage?: number; barPercentage?: number; - time?: TimeScale; } // tslint:disable-next-line no-empty-interface