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
@danielgindi the init method does not initialize _yVals in init() or init(label: String?)
so either we initialize them there, or we make _yVals have default value. What do you prefer
Hi,
I just tried using version 2.2.1 and my app crashed. I tracked it down to initializing BarChartDataSet with the default initializer.
i.e. in swift, BarChartDataSet(), or in objc [[BarChartDataSet alloc] init]
The error is:
fatal error: unexpectedly found nil while unwrapping an Optional value
Happens on line 57 of ChartDataSet.swift:
public var yVals: [ChartDataEntry] { return _yVals }
I love this library... thank you!
Nate
The text was updated successfully, but these errors were encountered: