@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
94 lines (93 loc) • 3 kB
TypeScript
import BubbleChartStyleService from '../../../base-pandora-visualization/services/chart-style/charts/bubble/bubble';
import { ESizeType } from '../../../constants/chart-style';
import BaseScatterChartStore, { IScatterSeries, Point } from '../stores/base-scatter';
export default class BubbleChartStore extends BaseScatterChartStore<BubbleChartStyleService> {
get sizeField(): string;
get sizeFieldIndex(): number;
getPoint(line: any): Point;
measureSymbolSize(value: number, minSize: number, maxSize: number, sizeType: ESizeType, minDiameter?: number, maxDiameter?: number): number;
get symbolSize(): (_: any, params: any) => number;
toScatterSeries(series: IScatterSeries[]): {
fieldType: string;
type: string;
data: Point[];
name: string | undefined;
itemStyle: {
color: any;
borderColor: any;
borderWidth: number;
shadowBlur: number;
};
symbolSize: (_: any, params: any) => number;
cursor: string;
}[];
getOptions(): {
xAxis: {
axisPointer: {
show: boolean;
};
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;
};
};
yAxis: {
axisPointer: {
show: boolean;
};
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;
};
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;
};
series: any;
brush: false | {
xAxisIndex: number;
yAxisIndex: string;
transformable: boolean;
}[];
};
tooltipFormat(params: any): string;
}