MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / getAutoColor

Function getAutoColor

libs/echarts/echarts.simple.js:17798–17800  ·  view source on GitHub ↗
(color, opt)

Source from the content-addressed store, hash-verified

17796}
17797
17798function getAutoColor(color, opt) {
17799 return color !== 'auto' ? color : (opt && opt.autoColor) ? opt.autoColor : null;
17800}
17801
17802/**
17803 * Give some default value to the input `textStyle` object, based on the current settings

Callers 1

setTokenTextStyleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected