import { CommonService } from '../../service/common.service'; import { ECharts } from 'echarts'; export declare class LegendPieService { private commonService; constructor(commonService: 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; }; }; getDefaultOptionsOfLegendPieChart: () => { title: { show: boolean; text: string; left: string; bottom: number; textStyle: { fontWeight: number; fontSize: any; }; }; backgroundColor: string; color: string[]; 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; trigger: string; borderColor: string; borderWidth: number; backgroundColor: string; extraCssText: string; textStyle: { color: string; fontSize: number; }; padding: number; position: (point: any, param: any, dom: any, rect: any, size: any) => number[]; formatter: (params: any) => string; }; series: { name: string; type: string; minAngle: number; radius: string; center: string[]; selectedMode: string; selectedOffset: number; data: { name: string; value: string | number; }[]; label: { show: boolean; fontSize: number; formatter: (param: any) => string; alignTo: string; color: string; fontWeight: string; }; labelLine: { smooth: boolean; length: number; length2: number; }; hoverOffset: number; emphasis: { itemStyle: { shadowBlur: number; shadowOffsetX: number; shadowOffsety: number; }; }; animationDurationUpdate: number; }[]; textStyle: { fontFamily: string; }; }; changeSeriesName(chartOptions: any, string: string): void; changeRadius(chartOptions: any, bcacPieChartRadius: string | number): void; changeCenter(chartOptions: any, bcacPieChartCenter: Array | Array): void; changeLegendPosition(chartOptions: any, position: any): void; changeLegendShowStatus(chartOptions: any, showLegend: boolean): void; changeChartData(ChartOptions: any, chartData: any): void; changeToolboxShow(chartOptions: any, show: boolean): void; changeLineLength(chartOptions: any, length: number): void; changeLineLength2(chartOptions: any, length: number): void; setLegendPosition(option: any, legendPosition: string): void; topLegendChange(legendDatas: any[], optionInit: ECharts): void; changeTitleOption(chartOptions: any, chartTitle: string): void; changeLabelShowStatus(chartOptions: any, labelShow: any): void; changeLabelType(chartOption: any, type: 'value' | 'percent'): void; changeLabelAlignTo(chartOption: any, alignTo: 'none' | 'labelLine' | 'edge'): void; changeLabelMargin(chartOption: any, margin: string | number): void; changeLabelBleedMargin(chartOption: any, bleedMargin: number): void; changeMinAngle(chartOption: any, minAngle: number): void; }