chart.js -- both X and Y axes can have time-related options

This commit is contained in:
dvorakroth
2018-05-07 08:24:19 +00:00
parent fb871936a1
commit d76dea208f
+1 -1
View File
@@ -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