zz-chart
Version:
Alauda Chart components by Alauda Frontend Team
21 lines (20 loc) • 484 B
TypeScript
import uPlot from 'uplot';
import { View } from '../chart/view.js';
import { CoordinateOpt } from '../types/index.js';
export declare class Coordinate {
name: string;
isTransposed: boolean;
ctrl: View;
option: CoordinateOpt;
constructor(ctrl: View);
render(): void;
update(): void;
setOption(): void;
transpose(): void;
getOptions(): {
scales?: {
[key: string]: uPlot.Scale;
};
axes?: uPlot.Axis[];
};
}