You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
925 B

4 months ago
import { Component } from '../../core';
import { Group } from '../../shapes';
import type { SparklineOptions, SparklineStyleProps } from './types';
export type { SparklineOptions, SparklineStyleProps };
export declare class Sparkline extends Component<SparklineStyleProps> {
static tag: string;
/**
* data统一格式化为数组形式
*
*/
private get rawData();
private get data();
private get scales();
/**
* 线 0
*/
private get baseline();
private get containerShape();
private get linesStyle();
private get columnsStyle();
constructor(options: SparklineOptions);
render(attributes: Required<SparklineStyleProps>, container: Group): void;
/**
* color
*/
private getColor;
/**
* scale
*/
private createScales;
}