Since release v1.6.5 , the Chart background is transparent by default. This means that everything in the background (the background of the chart, other Views , etc.) that are not overlapping with the data pulled into the Chart will be visible.
If you want to change the background (color or possibly paint), you can either do this by changing the background
- in .xml (
android:background="..." ) - calling
setBackgroundColor(...) or setBackgroundResource(...)
Another way could be to change the background of the parent layout containing the Chart .
source share