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 have a view that allows a user to view multiple datasets by tapping a button, the datasets have different value ranges so I need to be able to specify what the minimum and maximum values should be for the range, but if those values are called more than once it seems like the axis loses the range.
Not sure which of the two actually resolved the issue, I saw them in the same header and put them in after setting the axis min &/or max and it fixed the issue. My gut instinct says prepareValuePxMatrix because the error is from a singular matrix so it feels logical. Definitely fixed the problem though.
If I call:
[self.userDataChartView.leftAxis setAxisMaxValue:100];
or
[self.userDataChartView.xAxis setAxisMaximum:xVal + 1];
More than once it will lead to:
<Error>: CGAffineTransformInvert: singular matrix.
I have a view that allows a user to view multiple datasets by tapping a button, the datasets have different value ranges so I need to be able to specify what the minimum and maximum values should be for the range, but if those values are called more than once it seems like the axis loses the range.
Have tried:
[self.userDataChartView.xAxis resetCustomAxisMax]; [self.userDataChartView.xAxis resetCustomAxisMin];
But they do nothing to resolve the problem.
The text was updated successfully, but these errors were encountered: