UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

45 lines (44 loc) 949 B
import { IPoint } from '../../../constants/chart-style'; export declare function getAreaStyle(rgba: { r: number; g: number; b: number; a: number; }): { color: { type: string; x: number; y: number; x2: number; y2: number; colorStops: { offset: number; color: string; }[]; }; opacity: number; } | undefined; export declare function getSerieItemStyle(point: IPoint, color: string | { r: number; g: number; b: number; a: number; }): { normal: { borderWidth: number; borderColor: string; color: string; } | { borderWidth?: undefined; borderColor: string; color: string; } | { borderWidth: number; borderColor?: undefined; color: string; } | { borderWidth?: undefined; borderColor?: undefined; color: string; }; };