当我触摸LineChart视图并选择一个点时,将显示交叉曲线,但是如何通过代码执行此操作?任何API? THX
答案 0 :(得分:1)
我认为你期望得到的是LimitLine
以下是使用示例:https://github.com/PhilJay/MPAndroidChart/wiki/The-Axis#limit-lines
轴(X和Y)都可以选择将其添加到图表中:
public void addLimitLine(LimitLine l)
示例在这里:https://github.com/PhilJay/MPAndroidChart/wiki/The-Axis#example-code