import { stackColumnData, axisLabelRotate } from './stack-column-interface';
import { CommonService } from '../../service/common.service';
export declare class StackColumnService {
    private commonService;
    constructor(commonService: CommonService);
    getStackBarChartDefaultOption(): {
        backgroundColor: string;
        color: string[];
        grid: {
            left: number; /**
             * 更改tooltip单位
             * @param options echartsOption
             * @param tooltipUnit tooltip单位
             */
            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: {
            [k: string]: any;
        };
        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;
                }; /**
                 * 更改图例位置
                 * @param options 配置
                 * @param positon 位置
                 */
            };
            min: (value: any) => any;
        }[];
        series: any[];
        textStyle: {
            fontFamily: string;
        };
    };
    /**
     * 更改toolbox显示状态
     * @param options echart配置
     * @param show 显示开关
     */
    changeToolboxShow(options: any, show: boolean): void;
    /**
     * 更改图例是否显示
     * @param options echarts配置
     * @param bcacLegendShow 图例显示开关
     */
    changeLegendShow(options: any, bcacLegendShow: boolean): void;
    /**
     * 更改图例位置
     * @param options 配置
     * @param positon 位置
     */
    changeLegendPosition(options: any, positon: string): void;
    /**
     * 更改tooltip单位
     * @param options echartsOption
     * @param tooltipUnit tooltip单位
     */
    _tooltipUnit: string;
    changeTooltipUnit(options: any, tooltipUnit: string): void;
    /**
     * 更改x轴名称
     * @param options ECharts配置
     * @param xAxisName x轴名称
     */
    changeXAxisName(options: any, xAxisName: string): void;
    /**
     * 更改y轴名称
     * @param options ECharts配置
     * @param yAxisName y轴名称
     */
    changeYAxisName(options: any, yAxisName: string): void;
    /**
     * 更改y轴name距离
     * @param options ECharts配置
     * @param yAxisNameGap y轴name距离
     */
    changeYAxisNameGap(options: any, yAxisNameGap: number): void;
    /**
     * 更改x轴label的旋转状态
     * @param chartOpt ECharts图options
     * @param xAxisLabelRotate x轴label的旋转
     */
    changeXAxisLabelRotate(chartOpt: any, xAxisLabelRotate: axisLabelRotate): void;
    /**
     * 更改y轴刻度label旋转状态
     * @param chartOpt ECharts图配置
     * @param yAxisLabelRotate y轴刻度label旋转
     */
    changeYAxisLabelRotate(chartOpt: any, yAxisLabelRotate: axisLabelRotate): void;
    /**
    * 更改图表数据
    * @param options 图表配置
    * @param data 数据
    */
    changeChartData(options: any, data: stackColumnData): void;
    setInterval(chartOpt: any, interval: number): void;
    topLegendChange(legendData: any, chartInstance: any): void;
    changeYAxisMin(chartOpt: any, min: any): void;
    changeYAxisMax(chartOpt: any, max: any): void;
    changeYAxisInterval(chartOpt: any, interval: any): void;
    changeYAxisMinInterval(chartOption: any, yAxisMinInterval: number): void;
}
