@antv/f6-plugin
Version:
F6 plugin
29 lines (28 loc) • 746 B
TypeScript
import { ShapeStyle } from '@antv/f6-core';
export declare type SliderOption = Partial<{
readonly width?: number;
readonly height?: number;
readonly backgroundStyle?: ShapeStyle;
readonly foregroundStyle?: ShapeStyle;
readonly handlerStyle?: ShapeStyle;
readonly textStyle?: ShapeStyle;
readonly start: number;
readonly end: number;
}>;
export interface SliderProgressBar {
slider: SliderOption;
}
export interface Interval {
data: number[];
style: ShapeStyle;
}
export interface TrendConfig {
readonly data?: number[];
readonly smooth?: boolean;
readonly lineStyle?: ShapeStyle;
}
export interface SliderTick {
width?: number;
lineStyle?: ShapeStyle;
textStyle?: ShapeStyle;
}