- add chartjs-plugin-zoom via npm

- add label to timeseries graph only for 08:00 and 18:00
This commit is contained in:
Arno Kaimbacher 2021-10-01 14:37:43 +02:00
parent 4241bd2cb9
commit dbf8aa495e
10 changed files with 2198 additions and 2258 deletions

View file

@ -132,11 +132,11 @@ export interface GeomonData { }
export class GeomonTimeseriesData implements GeomonData {
referenceValues: ReferenceValues<TimeValueTuple> = {};
valueBeforeTimespan: TimeValueTuple;
valueAfterTimespan: TimeValueTuple;
valueBeforeTimespan: [number, number]; // TimeValueTuple;
valueAfterTimespan: [number, number]; //TimeValueTuple;
constructor(
public values: TimeValueTuple[],
public values: Array<[number, number]>,
) { }
}