import { AfterContentChecked, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
import { ModalController } from '@ionic/angular';
import { AbstractVariable } from '@iotize/tap/data';
import { BarHorizontalComponent, BarVerticalComponent, BaseChartComponent, LegendPosition } from '@swimlane/ngx-charts';
import { ChartInputSingle, ChartInputStreamVar } from '../ChartDataModel';
import { OnChartSelectEvent } from '../shared-types';
import * as i0 from "@angular/core";
export declare class TapVariableBarChartComponent extends BaseChartComponent implements AfterContentChecked, OnDestroy, OnInit {
    cd: ChangeDetectorRef;
    private modalController;
    divContainer: ElementRef;
    barChartHor: BarHorizontalComponent;
    barChartVer: BarVerticalComponent;
    results: ChartInputSingle[];
    orientation: string;
    legend: boolean;
    legendTitle?: string;
    legendPosition: LegendPosition;
    showGridLines: boolean;
    showDetails: boolean;
    /**
     * @deprecated use xAxis
     */
    set showXAxis(v: boolean);
    xAxis: boolean;
    showXAxisLabel: boolean;
    xAxisLabel: string;
    /**
     * @deprecated use yAxis
     */
    set showYAxis(v: boolean);
    yAxis: boolean;
    showYAxisLabel: boolean;
    yAxisLabel: string;
    trimXAxisTicks?: boolean;
    maxXAxisTickLength?: boolean;
    trimYAxisTicks?: boolean;
    maxYAxisTickLength?: boolean;
    animations: boolean;
    roundDomains?: boolean;
    roundEdges: boolean;
    barPadding?: number;
    noBarWhenZero: boolean;
    showExportButton: boolean;
    exportedFileName?: string;
    set variable(variableOrArray: AbstractVariable<number | number[]> | undefined);
    xAxisTickFormatting: (input: any) => string;
    set history(enable: boolean);
    set valueCountLimit(limit: number | undefined);
    set input(inputs: ChartInputStreamVar[]);
    set data(results: ChartInputSingle[]);
    scrollableChart: boolean;
    scaleMax?: number;
    scaleMin?: number;
    set label(indexOrArray: string | string[] | undefined | Function);
    colorScheme: {
        domain: string[];
    };
    private _history;
    private _valueCountLimit;
    private _input;
    private oldColorScheme;
    private destroyed;
    widthChart?: number;
    heightChart?: number;
    private chartModel;
    private subscription?;
    constructor(myChartElement: ElementRef, zone: NgZone, cd: ChangeDetectorRef, platformId: string, modalController: ModalController);
    ngOnInit(): void;
    ngAfterContentChecked(): void;
    resizeToScroll(size: number): void;
    onSelect(event: OnChartSelectEvent): void;
    defaultDateTickFormatting(val: any): string;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableBarChartComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableBarChartComponent, "tap-variable-bar-chart", never, { "orientation": "orientation"; "legend": "legend"; "legendTitle": "legendTitle"; "legendPosition": "legendPosition"; "showGridLines": "showGridLines"; "showDetails": "showDetails"; "showXAxis": "showXAxis"; "xAxis": "xAxis"; "showXAxisLabel": "showXAxisLabel"; "xAxisLabel": "xAxisLabel"; "showYAxis": "showYAxis"; "yAxis": "yAxis"; "showYAxisLabel": "showYAxisLabel"; "yAxisLabel": "yAxisLabel"; "trimXAxisTicks": "trimXAxisTicks"; "maxXAxisTickLength": "maxXAxisTickLength"; "trimYAxisTicks": "trimYAxisTicks"; "maxYAxisTickLength": "maxYAxisTickLength"; "animations": "animations"; "roundDomains": "roundDomains"; "roundEdges": "roundEdges"; "barPadding": "barPadding"; "noBarWhenZero": "noBarWhenZero"; "showExportButton": "showExportButton"; "exportedFileName": "exportedFileName"; "variable": "variable"; "xAxisTickFormatting": "xAxisTickFormatting"; "history": "history"; "valueCountLimit": "valueCountLimit"; "input": "input"; "data": "data"; "scrollableChart": "scrollableChart"; "scaleMax": "scaleMax"; "scaleMin": "scaleMin"; "label": "label"; "colorScheme": "colorScheme"; }, {}, never, never, false, never>;
}
