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 轴上显示日期,在 Y 轴上显示一些值,我想做的是:当用户选择“缩放区域”时,荧光笔应该自动从图表的顶部到底部进行选择,这样用户只专注于从左到右选择一个切片。
我怎样才能做到这一点?
啊啊啊找到了
curosr -> constrainZoomTo: "x"