templates/assets/js/chart.js
function () {
            var documentContainer = document.querySelector('.document-container');
            if (documentContainer.classList.contains('backdrop-hidden')) {
                documentContainer.classList.remove('backdrop-hidden');
                documentContainer.style.display = 'none';
            }
            if (this.classList.contains('chart-hidden')) {
                this.classList.remove('chart-hidden');
                this.style.display = 'none';
            }
        }
function () {
            var documentContainer = document.querySelector('.document-container');
            if (documentContainer.classList.contains('backdrop-hidden')) {
                documentContainer.classList.remove('backdrop-hidden');
                documentContainer.style.display = 'none';
            }
            if (this.classList.contains('chart-hidden')) {
                this.classList.remove('chart-hidden');
                this.style.display = 'none';
            }
        }
function ( ) { var documentContainer = document . querySelector ( '.document-container' ) ; if ( documentContainer . classList . contains ( 'backdrop-hidden' ) ) { documentContainer . classList . remove ( 'backdrop-hidden' ) ; documentContainer . style . display = 'none' ; } if ( this . classList . contains ( 'chart-hidden' ) ) { this . classList . remove ( 'chart-hidden' ) ; this . style . display = 'none' ; } }
Animated displaying and hiding chart
Animated displaying and hiding chart