1chartElement.classList.contains('d-none') ? chartElement.classList.remove('d-none') : '';
2!chartElement.classList.contains('d-block') ? chartElement.classList.add('d-block') : '';
3
4noDataElement.classList.contains('d-block') ? noDataElement.classList.remove('d-block') : '';
5!noDataElement.classList.contains('d-none') ? noDataElement.classList.add('d-none') : '';