-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
底部barchart长按事件异常 #2
Comments
那你要检查下是不是给两个图表都设置了监听:(3个监听都需要设置,不能写反也不能写错) |
Highlight h = mChart.getHighlightByTouchPoint(e.getX(), e.getY());
if (h != null) {
h.setDraw(e.getX(), e.getY());
mChart.highlightValue(h, true);
mChart.disableScroll();
}
这里的当mChart是底部的barchart的时候,h对象是空,导致长按底部的barchart区域无法触发高亮
The text was updated successfully, but these errors were encountered: