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.

16 lines (13 loc) 624 B
import { createEntityPhraseFactory } from '../createEntityPhraseFactory.js'; import { isNumber } from '../../utils/isType.js'; var defaultContributeRatioDescriptor = { style: function (value, _, themeSeedToken) { return ({ color: themeSeedToken.colorConclusion, }); }, tooltip: { title: function (value, metadata) { return (isNumber(metadata.origin) ? "".concat(metadata.origin) : null); }, }, }; var createContributeRatio = createEntityPhraseFactory('contribute_ratio', defaultContributeRatioDescriptor); export { createContributeRatio }; //# sourceMappingURL=createContributeRatio.js.map