* 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)
| 17446 | * @return {number} highlightDigit |
| 17447 | */ |
| 17448 | function 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`. |