<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// To change the way how preloader looks you need to change CSS.
// By default CSS from AnyChart CDN is used: https://cdn.anychart.com/css/7.14.3/anychart-ui.css
// Download it, alter, upload to your server and link from your pages to change the look.
var customPreloader = anychart.ui.preloader();
customPreloader.render();
// Set visible preloader.
customPreloader.visible(true);
});