zz-chart
Version:
Alauda Chart components by Alauda Frontend Team
24 lines (23 loc) • 726 B
TypeScript
import uPlot from 'uplot';
interface SeriesBarsPluginProps {
time: boolean;
radius?: number;
marginRatio?: number;
ori: number;
dir: number;
stacked?: boolean;
ignore?: number[];
disp?: any;
}
export declare function distr(numItems: number, sizeFactor: number, justify: number, onlyIdx: number, each: (index: number, coord: number, id: number) => void): void;
export declare function seriesBarsPlugin(opts: SeriesBarsPluginProps): {
hooks: {
drawClear: (u: uPlot) => void;
};
opts: (_u: uPlot, opts: any) => void;
};
export declare function stack(data: uPlot.AlignedData, omit?: (i: number) => boolean): {
data: uPlot.AlignedData;
bands: uPlot.Band[];
};
export {};