(legendItem, fontLineHeight)
| 575 | } |
| 576 | |
| 577 | function calculateLegendItemHeight(legendItem, fontLineHeight) { |
| 578 | const labelHeight = legendItem.text ? legendItem.text.length : 0; |
| 579 | return fontLineHeight * labelHeight; |
| 580 | } |
| 581 | |
| 582 | function isListened(type, opts) { |
| 583 | if ((type === 'mousemove' || type === 'mouseout') && (opts.onHover || opts.onLeave)) { |
no outgoing calls
no test coverage detected