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 macOS app that uses your Charts framework and I have tried 2 x versions, i.e. 3.2.2 and 3.3.0. I use the Swift package Manager to bring down updates of your framework and all works well albeit both these versions exhibit the same issue.
I have one Line Chart view with multiple currency (pairs) DataSets and mathematically derived datasSets i.e. moving averages and standard deviations. I have disabled the "legend" on the view as I have a seperate view of buttons outside of the chart that controls the Line Chart dataSets "visible" property to clutter or declutter the chart view for the user (me) as required.
All works perfectly.
However...
I have a left Y axis range from 0.0 to 1.0 for currency exchange rates of this range.
I have a right Y axis range from 0.0 to 100.0 for currency exchange rates of this range.
As it works out I have just one currency (pair) on the right Y axis.
I click on a button in my legend view and all works well: each dataSet loses or gains visibility in the chart although still resident as a DataSet within the view.
The error:
When all dataSets within the chart are set to being not visible, i.e. nothing is showing except the left Y axis, the right Y axis, and the X axis - the moment you switch on a right Y axis dataSet "visible" and call notifyDataSetChanged() to inform the chart view that its underlying data has changed - you get a number of exceptions as follows:
Fixed: reviewed all threads within the application and looked through the Charts source code. And seperated further data work from UI work. All done. Apologise for raising the issue.
I have a macOS app that uses your Charts framework and I have tried 2 x versions, i.e. 3.2.2 and 3.3.0. I use the Swift package Manager to bring down updates of your framework and all works well albeit both these versions exhibit the same issue.
I have one Line Chart view with multiple currency (pairs) DataSets and mathematically derived datasSets i.e. moving averages and standard deviations. I have disabled the "legend" on the view as I have a seperate view of buttons outside of the chart that controls the Line Chart dataSets "visible" property to clutter or declutter the chart view for the user (me) as required.
All works perfectly.
However...
I have a left Y axis range from 0.0 to 1.0 for currency exchange rates of this range.
I have a right Y axis range from 0.0 to 100.0 for currency exchange rates of this range.
As it works out I have just one currency (pair) on the right Y axis.
I click on a button in my legend view and all works well: each dataSet loses or gains visibility in the chart although still resident as a DataSet within the view.
The error:
When all dataSets within the chart are set to being not visible, i.e. nothing is showing except the left Y axis, the right Y axis, and the X axis - the moment you switch on a right Y axis dataSet "visible" and call notifyDataSetChanged() to inform the chart view that its underlying data has changed - you get a number of exceptions as follows:
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
Charts environment: macOS Mojave 10.14.4
Charts version: 3.2.2 and also tried also 3.3.0
xCode version: 10.2.1
xCode Swift version: running 4.2
The text was updated successfully, but these errors were encountered: