@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
372 lines (371 loc) • 9.93 kB
TypeScript
import BubbleChartStyleService from '../../../../base-pandora-visualization/services/chart-style/charts/map/bubble/base';
import { EGeoLevel } from '../../../../constants/map-style';
import { EGeolevelType } from '../../constants/map/coordMap';
import OneDLegendChartStore from '../../stores/one-d-legend';
import { MapType } from '../../constants/map/map';
export default abstract class MapBubbleChartStore extends OneDLegendChartStore<BubbleChartStyleService> {
abstract mapType: MapType;
abstract getIsValidMapData: (seriesNames: string[]) => boolean;
get nameMap(): {} | undefined;
get containCitySansha(): boolean;
get geoLevalType(): EGeolevelType;
get chartOptions(): {
series: ({
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
})[];
tooltip: {
trigger: string;
padding: number[];
position(_point: any, _params: any, dom: any): void;
formatter: (params: any) => string;
};
geo: {
map: EGeoLevel | MapType | EGeolevelType.CITY | EGeolevelType.AREA | EGeolevelType.WORLD;
label: {
emphasis: {
show: boolean;
};
};
scaleLimit: {
min: number;
max: number;
};
silent: boolean;
roam: boolean;
nameMap: {} | undefined;
};
position: any;
legend: {
show: boolean;
};
};
get validMapNameData(): any[];
get series(): ({
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
})[];
get baseOptions(): {
tooltip: {
trigger: string;
padding: number[];
position(_point: any, _params: any, dom: any): void;
formatter: (params: any) => string;
};
geo: {
map: EGeoLevel | MapType | EGeolevelType.CITY | EGeolevelType.AREA | EGeolevelType.WORLD;
label: {
emphasis: {
show: boolean;
};
};
scaleLimit: {
min: number;
max: number;
};
silent: boolean;
roam: boolean;
nameMap: {} | undefined;
};
position: any;
legend: {
show: boolean;
};
series: ({
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
})[];
};
get mapPositionWithLegend(): any;
get legendSeriesData(): {
name: any;
data: {
current: any[];
};
metricName: string;
}[];
get symbolSize(): number[];
get seriesData(): ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
toMapSeries(data: Array<{
name: any;
value: any;
bucketName: string;
}>): ({
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
} | {
itemStyle: {
color: string;
borderColor: string;
};
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
} | {
itemStyle?: undefined;
type: string;
coordinateSystem: string;
name: string;
data: ({
name: any;
value: any;
metric: any;
size: any;
symbolSize: number;
} | null)[];
hoverAnimation: boolean;
rippleEffect: {
brushType: string;
};
label: {
show: boolean;
formatter: (params: any) => any;
};
})[];
}