AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.32k stars 369 forks source link

Android: Change background color of a chart #251

Open mohammedysamir opened 2 years ago

mohammedysamir commented 2 years ago

I need to change background color in Kotlin/Android from white to transparent or can sync it with Theme, I searched all issues and found just one solution, and it's for JS and I can't apply it to Kotlin

Shestac92 commented 2 years ago

Unfortunately, it is not supported in the current version of the library. We will take it into account for future updates.

vaidik1011 commented 2 years ago

cartesian.background().enabled(true); cartesian.background().fill("#2f3241");