@zhouchangju/standard-chart
Version:
标准范式组件
29 lines (28 loc) • 704 B
TypeScript
export interface FontList {
axisName: true;
axisLabel: true;
legendLabel: true;
tooltipLabel: true;
axisPointerLabel: true;
seriesLabel: true;
titleLabel: true;
}
type FontType = keyof FontList;
export declare const FONT_SIZE_LIST: {
axisName: number;
axisLabel: number;
legendLabel: number;
tooltipLabel: number;
axisPointerLabel: number;
seriesLabel: number;
titleLabel: number;
};
export declare const FONT_LINEHEIGHT_LIST: {
axisName: number;
};
export declare function getFontColor(labelType: FontType, themeName: 'dark' | 'light'): string;
export declare const FONT_WEIGHT_LIST: {
regular: number;
semibold: number;
};
export {};