[英]Error loading bar chart using charts ( in swift)
I am using the Charts framework (by Daniel gindi). 我正在使用图表框架(作者Daniel gindi)。 It was working fine till the latest pod re-install. 在重新安装最新的Pod之前,它工作正常。 Now, i get a EXC_BAD_ACCESS error when i try 现在,当我尝试时会收到EXC_BAD_ACCESS错误
barChartView.data = BarChartData(...)
i was able to work around this issue using 我能够使用解决此问题
barChartView.setValue(mybarchartData, forKey: "data")
However, i am doing some clean-up for the axes etc... and this seems to break for those. 但是,我正在为轴等做一些清理工作……对于这些来说,这似乎很困难。 For example, 例如,
barChartView.xAxis.setValue(1, forKey:"axisLineWidth")
does not work. 不起作用。 Is there something new/different for the latest release that i need to account for? 我需要考虑的最新版本是否有新/不同之处?
Thanks in advance!, Karthik 在此先感谢!,Karthik
I was able to fix this by cleaning the build and re-building. 我能够通过清理构建并重新构建来解决此问题。 Posting this in case someone else runs into the same problem. 如果有人遇到相同问题,请发布此消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.