FAQ Database Discussion Community


Set pie chart to non touchable

mpandroidchart,ios-charts
I'm using this awesome plotter framework ios-charts. The documentation for the android version states that one can disable touch events on the charts with "setTouchEnabled(false). However I can't find this function in the iOS version. "touchesBegan" might the way to go here? I'm new to iOS programming so I'm not...

How to show more x-axes in core-plot chart

objective-c,core-plot,ios-charts
According to our needs, we need to show the x-axis information at the top and bottom of the chart, how to show more x-axes? THX ...

ios-charts How to invalidate/redraw after setting data

mpandroidchart,ios-charts
See Updates At Bottom (4/30/2015) I'm implementing a Pie Chart in Swift for iOS using ios-charts, and have chosen to customize the legend. Of note, the chart is displayed within a cell of a UICollectionView. The problem is that on first display, the custom legend content is not being displayed....

How to create UITableViewCells with complex content in order to keep scrolling fluent

ios,swift,uitableview,cocoa-touch,ios-charts
I am working on a project where I have a table view which contains a number of cells with pretty complex content. It will be between usually not more than two, but in exceptions up to - lets say - 30 of them. Each of these complex cells contain a...

Swift: Cannot assign a value of type [CombinedChartView.DrawOrder] to a value of [int]

ios,swift,ios-charts
I am using https://github.com/danielgindi/ios-charts/ I had implement delegate: ChartViewDelegate Code: chartView.drawOrder = [CombinedChartView.DrawOrder.Bar, CombinedChartView.DrawOrder.Line] but I have this error: Cannot assign a value of type [CombinedChartView.DrawOrder] to a value of [int] I am able to use drawOrder in Obj-C but not in Swift for the same code. Is there a...