Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前它默认捕捉在 HIGH 并且没有选项将其设置为捕捉到 CLOSE。
我想编辑highstock.js,但我不知道在哪里。请帮忙。
highstock.js
在 Highstock.src.jsTooltip.refresh函数中查找。有:
Tooltip.refresh
val = i ? pick(point.stackY, point.y) : point.x;
尝试 co 更改为point.low而不是point.y. 一般情况下修改代码if (crosshairsOptions) { .. }。
point.low
point.y
if (crosshairsOptions) { .. }