@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
113 lines (112 loc) • 3.22 kB
TypeScript
import * as ecStat from 'echarts-stat';
import ScatterChartStyleService from '../../../base-pandora-visualization/services/chart-style/charts/scatter/scatter';
import BaseScatterChartStore from '../stores/base-scatter';
export default class ScatterChartStore extends BaseScatterChartStore<ScatterChartStyleService> {
get regressionSeries(): {
type: string;
color: any;
lineStyle: {
normal: {
color: any;
};
};
smooth: boolean;
showSymbol: boolean;
data: ecStat.OutputData;
markPoint: {
itemStyle: {
normal: {
color: string;
};
};
label: {
normal: {
show: boolean;
position: string;
formatter: string;
textStyle: {
color: any;
fontSize: number;
};
};
};
data: {
coord: number[];
}[];
};
} | undefined;
getOptions(): {
series: any;
grid: any;
tooltip: {
trigger: string;
showDelay: number;
axisPointer: {
type: string;
z: number;
};
} & {
formatter: (params: any) => string;
};
dataZoom: false | {
type: string;
xAxisIndex: number[];
filterMode: string;
minValueSpan: number;
}[];
legend: {
left: string;
};
xAxis: {
splitLine: {
show: boolean;
};
} & {
name: string | null;
nameTextStyle: {
padding: number[];
};
type: import("../../../constants/chart-style").AxisType;
nameGap: number;
axisLabel: {
rotate: import("../../../constants/chart-style").LabelRotation;
formatter: (params: any) => any;
hideOverlap: boolean;
show: boolean;
interval: string | number;
};
axisPointer: {
label: {
formatter: (params: any) => any;
};
};
};
yAxis: {
splitLine: {
show: boolean;
};
} & {
name: string;
type: import("../../../constants/chart-style").AxisType;
axisLabel: {
formatter: (params: any) => any;
hideOverlap: boolean;
show: boolean;
interval: string | number;
};
nameGap: any;
min: string | number | null;
max: string | number | null;
axisPointer: {
label: {
formatter: (params: any) => any;
};
};
};
brush: false | {
xAxisIndex: number;
yAxisIndex: string;
transformable: boolean;
}[];
};
}