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.

11 lines (8 loc) 280 B
'use strict'; 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]; }; exports.getSafeDomain = getSafeDomain; //# sourceMappingURL=getSafeDomain.js.map