UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

51 lines (50 loc) 2.25 kB
import { ChartType } from '../../../../../constants/chart-style'; import { BoundType } from '../../../../../constants/outlier'; import { IChartStyleInitOption } from '../base'; import TwoDChartStyleService, { ITwoDChartStyle } from '../two-d'; export interface IOutlierChartStyle extends ITwoDChartStyle { lowerBound: string | number; lowerBoundType: BoundType; upperBound: string | number; upperBoundType: BoundType; boundFields: string[]; } export default abstract class OutlierChartStyleService extends TwoDChartStyleService<IOutlierChartStyle> { static getChartInitStyle(option: IChartStyleInitOption, initFirst?: boolean): { lowerBound: string; upperBound: string; }; chartType: ChartType; lowerBound: string | number; lowerBoundType: BoundType; upperBound: string | number; upperBoundType: BoundType; boundFields: string[]; getOptions(): { lowerBound: string | number; lowerBoundType: BoundType; upperBound: string | number; upperBoundType: BoundType; boundFields: string[]; chartType: ChartType; mainAxis: import("../..").IMainAxis; crossAxis1: import("../..").ICrossAxis; crossAxis2: import("../..").ICrossAxis2; legend: import("../..").ITwoDLegend; colors: import("../..").IColors; colorMode: import("@qn-pandora/pandora-app-component").EColorMode; compare: import("../../components/compare").ICompare; baseLine: import("@qn-pandora/pandora-app-component/lib/components/BaseLineItem/constants").IBaseLine<any>[]; showToolBox: boolean; tooltipType: import("../../../../../constants/chart-style").ETooltipType; tooltipAppendToBody?: boolean | undefined; markLine?: import("../../../../../constants/chart-style").IMarkLineType | undefined; displayColors?: import("../base").IColor[] | undefined; }; setLowerBound(lowerBound: string | number): void; setLowerBoundType(lowerBoundType: BoundType): void; setUpperBound(upperBound: string | number): void; setUpperBoundType(upperBoundType: BoundType): void; setBoundFields(boundFields: string[]): void; constructor(option: IOutlierChartStyle); }