gpt4 book ai didi

mpandroidchart - 将饼图设置为不可触摸

转载 作者:行者123 更新时间:2023-12-02 01:55:18 33 4
gpt4 key购买 nike

我正在使用这个很棒的绘图仪框架 ios-charts。 Android 版本的文档指出,可以使用“setTouchEnabled(false)”禁用图表上的触摸事件。但是我在 iOS 版本中找不到此功能。“touchesBegan”可能是这里的方法吗?我是新手对于 iOS 编程,所以我对触摸事件不太熟悉。

最佳答案

您可以通过属性检查器或使用禁用用户交互

chartView.userInteractionEnabled = false

enter image description here

关于mpandroidchart - 将饼图设置为不可触摸,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30185431/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com