UNPKG

@iotize/ionic

Version:

Iotize specific building blocks on top of @ionic/angular.

36 lines (35 loc) 2.28 kB
import { AfterViewChecked, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core'; import { ModalController } from '@ionic/angular'; import { AbstractVariable } from '@iotize/tap/data'; import { PieChartComponent } from '@swimlane/ngx-charts'; import { ChartInputSingle, ChartInputStreamVar } from '../ChartDataModel'; import { OnChartSelectEvent } from '../shared-types'; import * as i0 from "@angular/core"; export declare class TapVariablePieChartAdvancedComponent extends PieChartComponent implements AfterViewChecked, OnDestroy, OnInit { private modalController; showDetails: boolean; showExportButton: boolean; exportedFileName?: string; set variable(variableOrArray: AbstractVariable<number | number[]> | undefined); set history(enable: boolean); set valueCountLimit(limit: number | undefined); set label(indexOrArray: string | string[] | undefined | Function); colorScheme: { domain: string[]; }; private _history; private _valueCountLimit; private _input; set input(inputs: ChartInputStreamVar[]); private destroyed; ngOnInit(): void; results: ChartInputSingle[]; private chartModel; private subscription?; constructor(myChartElement: ElementRef<any>, zone: NgZone, cd: ChangeDetectorRef, platformId: string, modalController: ModalController); ngAfterViewChecked(): void; onSelect(event: OnChartSelectEvent): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TapVariablePieChartAdvancedComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TapVariablePieChartAdvancedComponent, "tap-variable-pie-chart-advanced", never, { "showDetails": { "alias": "showDetails"; "required": false; }; "showExportButton": { "alias": "showExportButton"; "required": false; }; "exportedFileName": { "alias": "exportedFileName"; "required": false; }; "variable": { "alias": "variable"; "required": false; }; "history": { "alias": "history"; "required": false; }; "valueCountLimit": { "alias": "valueCountLimit"; "required": false; }; "label": { "alias": "label"; "required": false; }; "colorScheme": { "alias": "colorScheme"; "required": false; }; "input": { "alias": "input"; "required": false; }; }, {}, never, never, false, never>; }