UNPKG

@zhouchangju/standard-chart

Version:

标准范式组件

34 lines (33 loc) 1.25 kB
import { VennMapDim, VennMapName, VennSeriesOption } from './type'; export declare const defaultOption: VennSeriesOption; export declare const titleDefaultOption: { overflow: string; ellipsis: string; }; export declare const VENN_MAP_NAME: VennMapName[]; export declare const VENN_TITLE_NAME: string[]; export declare const VENN_TITLE_ALIGN: { [k in VennMapName]?: { [key: string]: 'left' | 'right' | 'center'; }; }; /** 韦恩图区块中心偏移,部分区块的中心并不是包围盒中点 */ export declare const REGION_CENTER_OFFSET: { VENN__6: { B: number[]; C: number[]; }; }; export declare const DEFAULT_TITLE_ALIGN = "center"; /** 韦恩图最小集合数 */ export declare const VENN_DIM_MIN_EXTENT = 1; /** 韦恩图最大集合数 */ export declare const VENN_DIM_MAX_EXTENT = 7; /** 图表数据与地图元素的关联属性,韦恩图固定为name字段 */ export declare const UNIQUEKEY = "name"; /** 图表集合的索引 */ export declare const LABEL_KEYS: string[]; /** 韦恩图地图名前缀 */ export declare const VENN_MAP_PREFIX = "VENN__"; export declare const getVennMapName: (dim: VennMapDim) => VennMapName; export declare const getTitleName: (index: number) => string;