I\'m using the amazing library MPAndroidChart. It works like a charm, except when I\'m trying to change the background color of the BarData. Default color is white, and I wa
Since release v1.6.5, the background of the Chart is transparent by default. Meaning, that everything in the background (chart background, other Views, etc.) that is not overlayed by data drawn into the Chart, will be visible.
If you want to change the background (color, or maybe drawable), you can either do that by changing the chart-background
android:background="...")setBackgroundColor(...) or setBackgroundResource(...)Another way could be to change the background of the parent layout that contains the Chart.