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.
我试图弄清楚如何在平移/缩放图表后计算哪些数据索引(沿 x 轴)在范围内。
例如,当我放大折线图时,我希望能够更新表格视图以仅显示可见数据点的详细信息。
我搜索了我能找到的代码和文档,但无济于事。
有highestVisibleXIndex并且lowestVisibleXIndex应该帮助你。我希望我能早点看到你的问题,只是另一个周末不在 SO
highestVisibleXIndex
lowestVisibleXIndex