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.
我所做的是使用默认绘图数据值绘制散点图。我想要做的是,当我在散点线上拖动任何绘图符号时,我想用该绘图位置更改重新加载图形。
我不知道该怎么做。谁能建议我如何开始这个。
使用绘图空间委托来跟踪使用指针设备向下、向上和拖动方法的交互。当用户拖动绘图点时,调用-reloadDataInIndexRange:以重新加载正在移动的点。然后绘图将查询数据源以获取更新的位置。
-reloadDataInIndexRange: