(textElement, id)
| 8348 | withTransition = getOption(options, 'withTransition', true); |
| 8349 | withTransitionForTransform = getOption(options, 'withTransitionForTransform', true); |
| 8350 | function getTextBox(textElement, id) { |
| 8351 | if (!$$.legendItemTextBox[id]) { |
| 8352 | $$.legendItemTextBox[id] = $$.getTextRect(textElement.textContent, CLASS.legendItem, textElement); |
| 8353 | } |
| 8354 | return $$.legendItemTextBox[id]; |
| 8355 | } |
| 8356 | function updatePositions(textElement, id, index) { |
| 8357 | var reset = index === 0, isLast = index === targetIds.length - 1, box = getTextBox(textElement, id), itemWidth = box.width + |
| 8358 | tileWidth + |
no outgoing calls
no test coverage detected
searching dependent graphs…