@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
41 lines (40 loc) • 2.81 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": { "alias": "colorScheme"; "required": false; }; "showExportButton": { "alias": "showExportButton"; "required": false; }; "exportedFileName": { "alias": "exportedFileName"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "valueCountLimit": { "alias": "valueCountLimit"; "required": false; }; "history": { "alias": "history"; "required": false; }; "label": { "alias": "label"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "variable": { "alias": "variable"; "required": false; }; "inputStream": { "alias": "inputStream"; "required": false; }; }, {}, never, never, false, never>;
}