Anychart Background Color While Loading
I am using AnyChart API for my android app: Github I can't figure out how to set up the background color while the chart is building. I tried all of the different background settin
Solution 1:
We took into account your issue and have prepared an update of the library. Please, download the latest version of the library. Now you can fill the background with a color until the chart rendered like this:
anyChartView.setBackgroundColor("black"); // or "#000000"
Also, you can show a progress bar of rendering the chart like this:
ProgressBar progressBar = findViewById(R.id.progress_bar);
anyChartView.setProgressBar(progressBar);
You can set your own view with your custom bar.
Post a Comment for "Anychart Background Color While Loading"