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

Function getHighlightDigit

libs/echarts/echarts.simple.js:17448–17454  ·  view source on GitHub ↗

* Support hightlight/downplay record on each elements. * For the case: hover highlight/downplay (legend, visualMap, ...) and * user triggerred hightlight/downplay should not conflict. * Only all of the highlightDigit cleared, return to normal. * @param {string} highlightKey * @return {number} h

(highlightKey)

Source from the content-addressed store, hash-verified

17446 * @return {number} highlightDigit
17447 */
17448function getHighlightDigit(highlightKey) {
17449 var highlightDigit = _highlightKeyMap[highlightKey];
17450 if (highlightDigit == null && _highlightNextDigit <= 32) {
17451 highlightDigit = _highlightKeyMap[highlightKey] = _highlightNextDigit++;
17452 }
17453 return highlightDigit;
17454}
17455
17456/**
17457 * See more info in `setTextStyleCommon`.

Callers 1

toggleHighlightFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected