UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

226 lines (225 loc) 5.71 kB
import { ESingleValueTrendMode } from '../../../../constants/single-style'; import SingleChartStore from '../store'; export default class SingleValueStore extends SingleChartStore { get isShowWhiteColor(): boolean; get showTrend(): boolean; get color(): string; get chartBackgroundColors(): string; get chartColors(): string; get showTrendData(): boolean; get series(): ({ itemStyle: { normal: { lineStyle: { color: any; }; color: any; }; }; data: any[]; barMaxWidth: number; smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle: { color: { type: string; x: number; y: number; x2: number; y2: number; colorStops: { offset: number; color: string; }[]; }; opacity: number; }; } | { itemStyle: { normal: { lineStyle: { color: any; }; color: any; }; }; data: any[]; barMaxWidth: number; smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle?: undefined; })[]; get options(): { tooltip: { trigger: string; confine: boolean; }; legend: { show: boolean; }; xAxis: { show: boolean; type: string; boundaryGap: boolean; }; yAxis: { show: boolean; axisLabel: { show: boolean; }; type: string; }; grid: { left: string; right: string; bottom: string; width: string; top: string; height: string; containLabel: boolean; }; } & { legend: { show: boolean; }; series: ({ itemStyle: { normal: { lineStyle: { color: any; }; color: any; }; }; data: any[]; barMaxWidth: number; smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle: { color: { type: string; x: number; y: number; x2: number; y2: number; colorStops: { offset: number; color: string; }[]; }; opacity: number; }; } | { itemStyle: { normal: { lineStyle: { color: any; }; color: any; }; }; data: any[]; barMaxWidth: number; smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle?: undefined; })[]; grid: { left: string; right: string; bottom: string; width: string; top: string; height: string; containLabel: boolean; }; }; get areaStyle(): { color: { type: string; x: number; y: number; x2: number; y2: number; colorStops: { offset: number; color: string; }[]; }; opacity: number; }; get baseSeries(): { smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle: { color: { type: string; x: number; y: number; x2: number; y2: number; colorStops: { offset: number; color: string; }[]; }; opacity: number; }; } | { smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle?: undefined; }; toLineSeries(data: any[]): ({ itemStyle: { normal: { lineStyle: { color: any; }; color: any; }; }; data: any[]; barMaxWidth: number; smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle: { color: { type: string; x: number; y: number; x2: number; y2: number; colorStops: { offset: number; color: string; }[]; }; opacity: number; }; } | { itemStyle: { normal: { lineStyle: { color: any; }; color: any; }; }; data: any[]; barMaxWidth: number; smooth: boolean; type: ESingleValueTrendMode; showSymbol: boolean; areaStyle?: undefined; })[]; get hasVertical(): boolean; isNumberData(data: any[]): boolean; }