UNPKG

@iotize/ionic

Version:

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

43 lines (42 loc) 2.49 kB
import { AfterViewChecked, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core'; import { ModalController } from '@ionic/angular'; import { BarHorizontal2DComponent, BarVertical2DComponent, BaseChartComponent, LegendPosition } from '@swimlane/ngx-charts'; import { ChartInputMutli } from '../ChartDataModel'; import { OnChartSelectEvent } from '../shared-types'; import * as i0 from "@angular/core"; export declare class BarChartStackedComponent extends BaseChartComponent implements AfterViewChecked, OnDestroy { modalController: ModalController; divContainer: ElementRef; barChartHor: BarHorizontal2DComponent; barChartVer: BarVertical2DComponent; constructor(myChartElement: ElementRef<any>, zone: NgZone, cd: ChangeDetectorRef, platformId: string, modalController: ModalController); legendPosition: LegendPosition; showExportButton: boolean; exportedFileName?: string; legend: boolean; colorScheme: { domain: string[]; }; orientation: string; showDetails: boolean; noBarWhenZero: boolean; showXAxis: boolean; showYAxis: boolean; history: boolean; valueCountLimit: number; set label(indexOrArray: string | string[] | undefined | Function); set data(results: ChartInputMutli[]); results: ChartInputMutli[]; scrollableChart: boolean; widthChart?: number; heightChart?: number; private chartModel; private subscription?; createExportedData(): any[]; onSelect(event: OnChartSelectEvent): void; ngAfterViewChecked(): void; resizeToScroll(size: number, seriesSize: number): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<BarChartStackedComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<BarChartStackedComponent, "iotize-dashboard-bar-chart-stacked", never, { "orientation": { "alias": "orientation"; "required": false; }; "showDetails": { "alias": "showDetails"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "showXAxis": { "alias": "showXAxis"; "required": false; }; "showYAxis": { "alias": "showYAxis"; "required": false; }; "history": { "alias": "history"; "required": false; }; "valueCountLimit": { "alias": "valueCountLimit"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; "scrollableChart": { "alias": "scrollableChart"; "required": false; }; }, {}, never, never, false, never>; }