import { axisLabelRotate, legendPosition } from './basic-bar-interface';
import { CommonService } from '../../service/common.service';
export declare class BasicBarService {
    private commonService;
    constructor(commonService: CommonService);
    getColumnChartDefaultOption(): {
        backgroundColor: string;
        color: 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: {
            name: string;
            nameTextStyle: {
                fontSize: any;
            };
            type: string;
            axisTick: {
                show: boolean;
            };
            axisLine: {
                lineStyle: {
                    color: string;
                };
            };
            axisLabel: {
                fontSize: number;
                color: string;
            };
            data: string[];
        }[];
        yAxis: {
            name: string;
            nameTextStyle: {
                fontSize: any;
                color: string;
            };
            type: string;
            nameGap: number;
            nameLocation: string;
            axisLine: {
                show: boolean;
                lineStyle: {
                    opacity: number;
                };
            };
            axisTick: {
                show: boolean;
                length: number;
                lineStyle: {
                    opacity: number;
                };
            };
            axisLabel: {
                show: boolean;
                color: string;
                fontSize: number;
            };
            splitLine: {
                show: boolean;
                lineStyle: {
                    opacity: number;
                };
            };
            min: (value: any) => any;
        }[];
        series: any[];
        textStyle: {
            fontFamily: string;
        };
    };
    changeLegendShow(chartOpt: any, bcacLegendShow: boolean): void;
    changeLegendPosition(chartOpt: any, position: legendPosition): void;
    changeBrushStatus(chartOpt: any, style: any, callback?: ($evetn: any, ...arg: any[]) => void): void;
    changeChartData(chartOpt: any, data: any, barBackgroundShow: any): void;
    changeTooltipUnit(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;
    addExcelIntoToolbox(chartOpt: any, callback?: (...args: any[]) => void): void;
    setInterval(chartOpt: any, interval: number): void;
    topLegendChange(legendData: any, chartInstance: any): void;
    changeChartBackground(chartOption: any, chartBackground: any): void;
    openSimplifyYAxis(chartOption: any): void;
    changeXAxisFormat(chartOptions: any): void;
    changeYAxisMinInterval(chartOption: any, minInterval: any): void;
    changeYAxisLabelSplit(chartOption: any, splitSwitch: any): void;
    changeYAxisMin(chartOption: any, min: any): void;
    changeYAxisMax(chartOption: any, max: any): void;
    changeYAxisInterval(chartOption: any, interval: any): void;
    changeBarSeriesBackgroundStatus(chartOption: any, show: boolean): void;
    setXAxisLabelFormat(chartOption: any, xAxisLabelFormat: number[]): void;
}
