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 daily bar chart displaying 2 bars with different number of rects inside, e.g
yellow, red, green on bar 1
red, green on bar 2
As I understand there's no way to do it right now. I tried to collect all colors into single array and set it in dataset but it gets only first colors from the array: CGContextSetFillColorWithColor(context, dataSet.colorAt(k).CGColor)
where k is index of current bar's entry
I did quick local fix - pass array of all colors and add colorIndex increment in BarChartRenderer but it doesn't look good. What about adding colors property to BarChartDataEntry and if it's set use it instead?
The text was updated successfully, but these errors were encountered:
I have daily bar chart displaying 2 bars with different number of rects inside, e.g
As I understand there's no way to do it right now. I tried to collect all colors into single array and set it in dataset but it gets only first colors from the array:
CGContextSetFillColorWithColor(context, dataSet.colorAt(k).CGColor)
where k is index of current bar's entry
I did quick local fix - pass array of all colors and add colorIndex increment in BarChartRenderer but it doesn't look good. What about adding colors property to BarChartDataEntry and if it's set use it instead?
The text was updated successfully, but these errors were encountered: