Fatal error: Undefined class constant 'de: vertical-rl; text-orientation: mixed; font-size: 0.75em; width: 10px!important; } </style><script> function getChartData(data){ var res = { 'series':[], 'labels':[] }; for(var k in data){ res.series.push(data[k]); res.labels.push(k); } res.series = [res.series]; return res; } $('.period-list-option').click(function(){ period = $(this).attr("data-val"); console.log('period',period); $(".period-list li").attr("class", ""); $(".period-list a[data-val="+period+"]").parent().attr("class", "active"); var updateObj = window.firstIndex ? series[period][firstIndex] : series[period]; updateObj = getChartData(updateObj); chart.update(updateObj); }); var period='month'; var series={"week":{"-1":{"1593022928":128465,"1593557401":128395,"1596235801":131233,"1598914202":131242,"1601506201":109631,"1604184 in /var/www/hosting/data/www/siamrealestate.ru/sre_com_files/includes/Dao.php on line 82