@visactor/vtable
Version:
canvas table width high performance
36 lines (35 loc) • 1.21 kB
TypeScript
import type { RequiredTableThemeDefine } from '../ts-types';
export declare function getAxisStyle(axisStyle: RequiredTableThemeDefine['axisStyle']): {
defaultAxisStyle: Omit<any, "type" | "domain" | "range" | "orient" | "__ticksForVTable">;
leftAxisStyle: Omit<any, "type" | "domain" | "range" | "orient" | "__ticksForVTable">;
rightAxisStyle: Omit<any, "type" | "domain" | "range" | "orient" | "__ticksForVTable">;
topAxisStyle: Omit<any, "type" | "domain" | "range" | "orient" | "__ticksForVTable">;
bottomAxisStyle: Omit<any, "type" | "domain" | "range" | "orient" | "__ticksForVTable">;
};
export declare const defalutPoptipStyle: {
visible: boolean;
position: string;
padding: number;
titleStyle: {
fontSize: number;
fontWeight: string;
fill: string;
};
contentStyle: {
fontSize: number;
fill: string;
};
panel: {
visible: boolean;
fill: string;
stroke: string;
lineWidth: number;
cornerRadius: number;
shadowBlur: number;
shadowOffsetX: number;
shadowOffsetY: number;
shadowColor: string;
size: number;
space: number;
};
};