@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
84 lines (83 loc) • 2.54 kB
TypeScript
import { AxisType } from '../../../constants/chart-style';
import LineBaseStyleService from '../../../base-pandora-visualization/services/chart-style/charts/line/base';
import { ISeriesPiece } from '../transforms/two-d';
import { ILegendSeries } from '../stores/legend-chart';
import TwoDChartStore from '../stores/two-d';
export default abstract class BaseLineChartStore<T extends LineBaseStyleService> extends TwoDChartStore<T> {
abstract showingSeries: any[];
lastMax: {
current: undefined;
};
get defaultBaselineColor(): string[];
get baseSeries(): ISeriesPiece[][];
get notFormatSeries(): {
series: any[];
};
get legendSeriesData(): ILegendSeries[];
get lineColors(): string[];
get baseShowingSeries(): any[];
getMainAxisFormatter(): (params: any) => any;
get series(): any[];
get yAxisLabelFormatter(): (value: any) => any;
get crossAxisOptions(): {
name: string;
type: string;
axisLabel: {
showMinLabel: boolean;
formatter: (value: any) => any;
hideOverlap: boolean;
};
nameGap: any;
min: string | number | null;
max: string | number | null;
};
get lineCrossAxisOptions(): {
splitLine: {
show: boolean;
lineStyle: {
type: string;
};
};
axisLine: {
show: boolean;
};
axisTick: {
show: boolean;
};
nameLocation: string;
} & IKeyValues<any> & {
name: string;
type: AxisType;
axisLabel: {
showMinLabel: boolean;
formatter: ((value: any) => any) | null;
hideOverlap: boolean;
};
min: string | number | null;
max: string | number | null;
} & {
nameGap: any;
};
get lineMainAxisOptions(): IKeyValues<any> & {
name: string | null;
type: AxisType;
axisLabel: {
rotate: import("../../../constants/chart-style").LabelRotation;
formatter: (params: any) => any;
hideOverlap: boolean;
rich: {
a: {
fontWeight: string;
color: string;
};
};
show: boolean;
interval: string | number;
};
data: string[];
nameGap: number;
min: string | number | null;
max: string | number | null;
};
getOptions(): IKeyValues;
}