MCPcopy Index your code
hub / github.com/apache/echarts / intersect

Method intersect

src/component/legend/ScrollableLegendView.ts:519–521  ·  view source on GitHub ↗
(itemInfo: ItemInfo, winStart: number)

Source from the content-addressed store, hash-verified

517 }
518
519 function intersect(itemInfo: ItemInfo, winStart: number) {
520 return itemInfo.e >= winStart && itemInfo.s <= winStart + containerRectSize;
521 }
522 }
523
524 _findTargetItemIndex(targetDataIndex: number) {

Callers 4

prunningFunction · 0.80
selector.tsFile · 0.80
labelIntersectFunction · 0.80
containZoneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected