UNPKG

@antv/t8

Version:

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative T8 markdown syntax that can be used to describe the content of data interpretation reports.

9 lines (7 loc) 252 B
var getSafeDomain = function (data) { var min = Math.min.apply(Math, data); var max = Math.max.apply(Math, data); return min === max ? [min - 1, max + 1] : [min, max]; }; export { getSafeDomain }; //# sourceMappingURL=getSafeDomain.js.map