import { CommonService } from '../../service/common.service';
import { axisLabelRotate } from './horizontal-bar-interface';
import { legendPosition } from './horizontal-bar-interface';
import { ECharts } from 'echarts';
export declare class HorizontalBarService {
    private commonService;
    constructor(commonService: CommonService);
    getHorizontalBarDefaultOption(): {
        color: string[];
        title: {
            show: boolean;
            text: string;
            left: string;
            bottom: number;
            textStyle: {
                fontWeight: number;
                fontSize: any;
            };
        };
        backgroundColor: string;
        grid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        legend: {
            type: "scroll" | "plain";
            show: boolean;
            width: string;
            bottom: string;
            orient: string;
            itemGap: number;
            itemWidth: number;
            itemHeight: number;
            pageIconSize: any;
            pageTextStyle: {
                fontSize: any;
            };
            pageIcons: {
                horizontal: string[];
                pageIconColor: string;
            };
            textStyle: {
                fontSize: number;
                fontWeight: number;
                padding: number;
            };
        };
        tooltip: {
            show: boolean;
            confine: boolean;
            trigger: string;
            axisPointer: {
                show: boolean;
                type: "none" | "line" | "cross" | "shadow";
                shadowStyle: {
                    color: string;
                };
            };
            borderColor: string;
            borderWidth: number;
            backgroundColor: string;
            extraCssText: string;
            textStyle: {
                color: string;
                fontSize: number;
            };
            padding: number;
            formatter: (params: any) => string;
        };
        xAxis: {
            type: string;
            name: string;
            nameLocation: string;
            nameTextStyle: {
                color: string;
                fontSize: any;
            };
            nameGap: number;
            axisLine: {
                show: boolean;
            };
            min: (value: any) => any;
            label: {
                show: boolean;
            };
            axisTick: {
                show: boolean;
                length: number;
            };
            axisLabel: {
                fontSize: number;
                color: string;
            };
            splitLine: {
                lineStyle: {
                    color: string;
                };
            };
        }[];
        yAxis: {
            type: string;
            name: string;
            nameLocation: string;
            nameTextStyle: {
                color: string;
                fontSize: any;
            };
            nameGap: number;
            axisTick: {
                show: boolean;
            };
            axisLine: {
                lineStyle: {
                    color: string;
                };
            };
            axisLabel: {
                fontSize: number;
                color: string;
            };
            data: string[] | string[][];
        }[];
        series: any[];
        textStyle: {
            fontFamily: string;
        };
    };
    changeLegendShow(chartOptions: any, show: boolean): void;
    changeChartData(chartOptions: any, data: any, tooltipUnit?: string, isDarkMode?: boolean, labelUnitSwitch?: boolean): void;
    changeTooltip(chartOpt: any, tooltipUnit: string | string[]): void;
    changeXAxisName(chartOpt: any, xAxisName: string): void;
    changeYAxisName(chartOpt: any, yAxisName: string): void;
    changeYAxisNameGap(chartOpt: any, yAxisNameGap: number): void;
    changeXAxisLabelRotate(chartOpt: any, xAxisLabelRotate: axisLabelRotate): void;
    changeYAxisLabelRotate(chartOpt: any, yAxisLabelRotate: axisLabelRotate): void;
    setInterval(chartOpt: any, interval: number): void;
    topLegendChange(legendData: any[], optionInit: ECharts): void;
    setLegendPosition(option: any, legendPosition: legendPosition): void;
    changeBackground(option: any, chartBackground: any): void;
    openDarkMode(chartOption: any, darkMode: any): void;
    changeChartColors(chartOption: any, chartColors: any): void;
    changeTitleOption(chartOption: any, chartTitle: any, isSmallMode: any, legendPosition: any): void;
    setXAxisMin(chartOption: any, xAxisMin: number): void;
    setXAxisMax(chartOption: any, xAxisMax: number): void;
    setXAxisInterval(chartOption: any, xAxisInterval: number): void;
    setLabelUnitSwitch(chartOption: any, labelUnitSwitch: boolean): void;
}
