UNPKG

@visactor/vrender-components

Version:

components library for dp visualization

9 lines (8 loc) 317 B
export function generateColField(index) { if (index < 26) return String.fromCharCode(65 + index); const title = []; for (index++; index > 0; ) index--, title.unshift(String.fromCharCode(65 + index % 26)), index = Math.floor(index / 26); return title.join(""); } //# sourceMappingURL=tools.js.map