-
-
Notifications
You must be signed in to change notification settings - Fork 751
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
如何控制tips弹框显隐以及事件的响应 #147
Comments
手动修改一下 AAOptionsConstructor.m 文件中的,有关于图表的浮动提示框 AATooltip的配置项代码即可 AATooltip *tooltip = AAObject(AATooltip)
.enabledSet(true)//启用浮动提示框,设置 false 禁用图表tooltip浮动提示效果
.sharedSet(true)
.crosshairsSet(chartModel.tooltipCrosshairs)
.pointFormatSet(chartModel.tooltipValueString)
.valueSuffixSet(chartModel.tooltipValueSuffix); |
参见 #148 (如何禁用扇形图被点击选中后,点中的扇区发生位移的效果?) |
你是说希望能够 AAChartView 能够添加点击回调事件的功能吗?比如能够获得是哪一个扇区被点击选中的事件信息? |
感谢作者的回复, 有这样的作者, 框架一定会🔥关于问题三,项目中的需求只是单纯的点击图表,跳转到别的页面 |
关于问题一,tips的显隐阔以配置到AAChartModel吗,因为项目中有的地方还需要tips,蛋疼的需求啊 |
这个已经改好了,参见 #155 关于第三个问题,因为是要准确地知道用户是在点击了扇形图的扇形区域之后进行跳转,所以单纯地为 AAChartView 添加手势是不行的,还是需要添加图表的点击事件,这个需要在这个双休日才能有时间完成d添加点击事件の功能. |
如图
又来打扰,最近项目正好用的这个框架,颜值高,写的也好.
期待作者的回复
The text was updated successfully, but these errors were encountered: