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'm looking to change the colours of a Bar Chart but every time I try and set the colours in BarChartDataSet the correct colours don't appear. I've read through the documentation but I can't work out what is going wrong.
If instead of using ChartColorTemplates.pastel() as a template I use a custom UIColor array, that also produces funny results. An array of 4 colours will produce correct results but an array of 5 colours (or more) will produce funny results (either with the colours appearing out of order or all bars showing the same colour). However oddly enough, the colours in the legend will be in the correct orde.r
I'm looking to change the colours of a Bar Chart but every time I try and set the colours in BarChartDataSet the correct colours don't appear. I've read through the documentation but I can't work out what is going wrong.
If instead of using ChartColorTemplates.pastel() as a template I use a custom UIColor array, that also produces funny results. An array of 4 colours will produce correct results but an array of 5 colours (or more) will produce funny results (either with the colours appearing out of order or all bars showing the same colour). However oddly enough, the colours in the legend will be in the correct orde.r
Using Charts 3.2.1 with Swift 4 and XCode Version 10.1
The text was updated successfully, but these errors were encountered: