You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am successful at using LineChartView. But when I am trying to render CombinedChartView, nothing shows up. Also, everything there is a touch event in the graph, it shows "CGAffineTransformInvert: singular matrix."
@IBOutlet weak var chartView: CombinedChartView!
var lineData = [ChartDataEntry]()
lineData.append(ChartDataEntry(x: Double(0), y: drand48()))
let lineDataSet = LineChartDataSet(values: lineData, label: "line")
var barData = [BarChartDataEntry]()
barData.append(BarChartDataEntry(x: Double(0), y: drand48()))
let barDataSet = BarChartDataSet(values: barData, label: "bar")
let combinedData = CombinedChartData(dataSets: [lineDataSet, barDataSet])
chartView.data = combinedData
charView.notifyDataSetChanged()
Am I totally missing something here?
Thank you.
The text was updated successfully, but these errors were encountered:
I am successful at using LineChartView. But when I am trying to render CombinedChartView, nothing shows up. Also, everything there is a touch event in the graph, it shows "CGAffineTransformInvert: singular matrix."
Am I totally missing something here?
Thank you.
The text was updated successfully, but these errors were encountered: