@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
41 lines (40 loc) • 2.35 kB
TypeScript
import { AfterContentChecked, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
import { AbstractVariable } from '@iotize/tap/data';
import { HeatMapComponent, LegendPosition } from '@swimlane/ngx-charts';
import { ChartInputMutli, ChartInputStreamVar } from '../ChartDataModel';
import { OnChartSelectEvent } from '../shared-types';
import * as i0 from "@angular/core";
export declare class TapVariableHeatMapChartComponent extends HeatMapComponent implements AfterContentChecked, OnDestroy {
heatChart: HeatMapComponent;
colorScheme: {
domain: string[];
};
showExportButton: boolean;
exportedFileName?: string;
yAxis: boolean;
showYAxisLabel: boolean;
xAxis: boolean;
showXAxisLabel: boolean;
legend: boolean;
legendPosition: LegendPosition;
valueCountLimit: number;
history: boolean;
set label(indexOrArray: string | string[] | undefined | Function);
xAxisTickFormatting: (input: any) => string;
isArray?: boolean;
chartHeight: number;
maxValue: number;
set variable(variableOrArray: AbstractVariable<number | number[]> | AbstractVariable<number | number[]>[] | undefined);
set inputStream(inputs: ChartInputStreamVar[]);
results: ChartInputMutli[];
private chartModel;
private subscription?;
constructor(myChartElement: ElementRef<any>, zone: NgZone, platformId: string, cd: ChangeDetectorRef);
createExportedData(): any[];
ngAfterContentChecked(): void;
defaultDateTickFormatting(val: any): string;
ngOnDestroy(): void;
onSelect(event: OnChartSelectEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableHeatMapChartComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableHeatMapChartComponent, "tap-variable-heat-map-chart", never, { "colorScheme": "colorScheme"; "showExportButton": "showExportButton"; "exportedFileName": "exportedFileName"; "yAxis": "yAxis"; "showYAxisLabel": "showYAxisLabel"; "xAxis": "xAxis"; "showXAxisLabel": "showXAxisLabel"; "legend": "legend"; "legendPosition": "legendPosition"; "valueCountLimit": "valueCountLimit"; "history": "history"; "label": "label"; "xAxisTickFormatting": "xAxisTickFormatting"; "variable": "variable"; "inputStream": "inputStream"; }, {}, never, never, false, never>;
}