How do I change the background color of an Android chart? For example, instead of the default bright / white background, I'd like to change it to black.
Kindly provide a way to do this during runtime, if possible.
2 Answers, 1 is accepted
0
Victor
Telerik team
answered on 28 Oct 2015, 09:16 AM
Hello Yew Hoo,
Thanks for writing.
Since the chart is a View you can set its background color quite easily:
chart.setBackgroundColor(0xff000000);
Please write again if you need further assistance.
Regards,
Victor
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items