import type { IAreaGraphicAttribute, IGroupGraphicAttribute, ILineGraphicAttribute, ITextGraphicAttribute } from '@visactor/vchart'; export interface RegressionLineData { color?: string; line: { x: number; y: number; }[]; area?: { x: number; y: number; y1: number; }[]; } export interface RegressionLineAttrs extends IGroupGraphicAttribute { name?: string; line?: { visible?: boolean; style?: ILineGraphicAttribute; }; label?: { visible?: boolean; text: string; style?: ITextGraphicAttribute; }; confidenceInterval?: { visible?: boolean; style?: IAreaGraphicAttribute; }; data: RegressionLineData[]; }