abc-charts
Version:
Widget render for using in 'ABC consulting' projects
18 lines (17 loc) • 479 B
TypeScript
import { XAxisPos, YAxisPos } from "../types";
export interface AxisData<T> {
name: string;
nameGap: number;
nameColor: string;
maxValueLength: number;
color: string;
position: T;
show: boolean;
max?: number;
min?: number;
axesToIndex: number[];
showLine: boolean;
showTick: boolean;
}
export declare type XAxisData = AxisData<XAxisPos>;
export declare type YAxisData = Omit<AxisData<YAxisPos>, 'maxValueLength'>;