import { CommonService } from '../service/common.service';
import { EChartOption } from 'echarts';
export declare class ChartOptionService {
    private commonService;
    style: {
        fontSize: number;
        yAxisLabelFontSize: number;
        toolboxSize: number;
        markLineSymbolSize: number;
        interval: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        horizontalInterval: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        horizontalSamllInterval: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        smallInterval: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        pyramidGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        smallPyramidGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        rightLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        smallRightLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        topLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        horizontalTopLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        horizontalSmallTopLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        smallTopLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        noLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        horizontalNoLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        smallNoLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        horizontalSmallNoLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        withoutLegendGrid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
    };
    constructor(commonService: CommonService);
    getChartColors(theme: string): any[];
    getChartTitle(): {
        show: boolean;
        text: string;
    };
    getChartLegend(): {
        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;
        };
    };
    getChartxAxisValue(number: Number): {
        type: EChartOption.BasicComponents.CartesianAxis.Type;
        name: string;
        nameLocation: "start" | "center" | "end" | "middle";
        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;
            };
        };
    }[];
    getChartxAxis(number: Number): any[];
    getChartyAxisCategory(number: Number): EChartOption.YAxis[];
    getChartyAxis(number: Number): EChartOption.YAxis[];
    getDefaultLineSeries(): {
        name: string;
        type: string;
        symbolSize: number;
        smooth: number;
        lineStyle: {
            width: number;
        };
        label: {
            show: boolean;
            fontWeight: string;
            color: string;
        };
        data: any[];
        markArea: {
            label: {
                position: string;
            };
            silent: boolean;
            itemStyle: {
                borderWidth: number;
            };
            data: any[];
        };
    };
    getDefaultBarSeries(): {
        name: string;
        type: string;
        barGap: string;
        barCategoryGap: string;
        barMaxWidth: number;
        data: any[];
        label: {
            show: boolean;
            position: string;
            fontSize: number;
            fontWeight: string;
            color: string;
        };
        markLine: {
            label: {
                position: string;
            };
            data: any[];
        };
        markArea: {
            label: {
                position: string;
                fontSize: number;
                emphasis: {
                    position: string;
                };
            };
            data: any[];
        };
    };
    getDefaultBoxPlotSeries(): {
        name: string;
        type: string;
        data: any[];
        boxWidth: number[];
        yAxisIndex: number;
    };
    getDefaultScatterSeries(): {
        name: string;
        type: string;
        data: any[];
        yAxisIndex: number;
        symbolSize: number;
    };
    getMapScatterSeries(): {
        type: string;
        coordinateSystem: string;
        data: any[];
        symbolSize: number;
        emphasis: {
            itemStyle: {
                borderColor: string;
                borderWidth: number;
            };
        };
        label: {
            show: boolean;
            position: string;
            formatter: string;
            color: string;
            fontSize: number;
        };
    };
    getDefaultTooltip(): any;
    getBoxPlotTooltip(unit?: string): {
        show: boolean;
        confine: boolean;
        trigger: "none" | "item" | "axis";
        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;
    };
    getScatterTooltip(unit?: string[]): {
        show: boolean;
        confine: boolean;
        trigger: "none" | "item" | "axis";
        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;
    };
    getScatterLineTooltip(unit?: string[]): {
        show: boolean;
        confine: boolean;
        trigger: "none" | "item" | "axis";
        axisPointer: {
            show: boolean;
            type: "none" | "line" | "cross" | "shadow";
        };
        borderColor: string;
        borderWidth: number;
        backgroundColor: string;
        extraCssText: string;
        textStyle: {
            color: string;
            fontSize: number;
        };
        padding: number;
        formatter: (params: any) => string;
    };
    getCompareCustomTooltip(unit?: string, years?: string[]): {
        show: boolean;
        confine: boolean;
        trigger: "none" | "item" | "axis";
        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: (param: any) => string;
    };
    getAxisChartWithMultiDimensionTooltip(unit?: string[]): {
        trigger: "none" | "item" | "axis";
        transitionDuration: number;
        confine: boolean;
        enterable: boolean;
        axisPointer: {
            type: "none" | "line" | "cross" | "shadow";
            snap: boolean;
            label: {
                show: boolean;
            };
        };
        borderColor: string;
        borderWidth: number;
        backgroundColor: string;
        extraCssText: string;
        textStyle: {
            color: string;
            fontSize: number;
        };
        padding: number;
        formatter: (params: any) => string;
    };
    getDefaultGeo(): {
        map: string;
        selectedMode: boolean | "multiple" | "single";
        itemStyle: {
            areaColor: string;
            borderColor: string;
            label: {
                show: boolean;
                color: string;
            };
        };
        emphasis: {
            label: {
                show: boolean;
            };
            itemStyle: {
                areaColor: string;
                shadowColor: string;
            };
        };
        label: {
            show: boolean;
            fontSize: number;
            color: string;
        };
        roam: boolean;
        zoom: number;
    };
    getPiecewiseVisualMap(): {
        show: boolean;
        type: "continuous" | "piecewise";
        itemSymbol: string;
        align: string;
        left: number;
        bottom: number;
        inverse: boolean;
        pieces: any[];
        dimension: number;
        precision: number;
        orient: string;
        itemWidth: number;
        itemHeight: number;
        itemGap: number;
        showLabel: boolean;
        formatter: string;
        textStyle: {
            color: string;
            fontSize: number;
        };
        inRange: {
            symbol: string;
            symbolSize: number;
        };
        outOfRange: {
            symbol: string;
            symbolSize: number;
            opacity: number;
        };
    };
    getContinuousVisualMap(): {
        type: string;
        left: number;
        dimension: number;
        orient: string;
        min: number;
        max: number;
        calculable: boolean;
        align: string;
        itemWidth: number;
        itemHeight: number;
        showLabel: boolean;
        precision: number;
        textStyle: {
            color: string;
            fontSize: number;
        };
        inRange: {
            SymbolSize: number;
            color: string[];
        };
        outOfRange: {
            symbolSize: number;
        };
    };
    getCompareCustomSeries(): {
        type: string;
        name: string;
        itemStyle: {
            borderWidth: number;
        };
        clip: boolean;
        renderItem: (params: any, api: any) => {
            type: string;
            children: ({
                type: string;
                shape: {
                    x1: any;
                    y1: any;
                    x2: any;
                    y2: any;
                    x?: undefined;
                    y?: undefined;
                    width?: undefined;
                    height?: undefined;
                };
                style: any;
                z: number;
            } | {
                type: string;
                shape: {
                    x: number;
                    y: any;
                    width: number;
                    height: number;
                    x1?: undefined;
                    y1?: undefined;
                    x2?: undefined;
                    y2?: undefined;
                };
                style: any;
                z: number;
            })[];
        };
        encode: {
            x: number;
            y: number[];
            tooltip: number[];
        };
        data: any[];
        z: number;
    };
    getDefaultGaugeSeries(): EChartOption.SeriesGauge;
    getTooltipOfIndexGauge(detailText?: {
        number: string;
        unit: string;
        itemText: string;
    }): {
        show: boolean;
        confine: boolean;
        borderColor: string;
        borderWidth: number;
        backgroundColor: string;
        extraCssText: string;
        textStyle: {
            color: string;
            fontSize: number;
        };
        padding: number;
        formatter: (params: any) => string;
    };
    getIndexPieSeries(): EChartOption.SeriesPie;
    getProgressPieSeries(): EChartOption.SeriesPie;
    getDefaultPieSeries(): EChartOption.SeriesPie;
    getDefaultChartTitle(): {
        show: boolean;
        text: string;
        left: string;
        bottom: number;
        textStyle: {
            fontWeight: number;
            fontSize: any;
        };
    };
    getInitOpts(): {
        renderer: string;
        devicePixelRatio: number;
    };
    getTextStyle(): {
        fontFamily: string;
    };
}
