javascript - How to click the time switch button in hightchart to change the x-axis display content
世界只因有你
世界只因有你 2017-05-19 10:28:16
0
1
437

Default day, the x-axis shows hours, switch to month, the x-axis shows 04/28

世界只因有你
世界只因有你

reply all(1)
phpcn_u1582

The data in the daily dimension should be different from the data in the monthly dimension, right?
For example, when it is calculated by day, it is one point every hour, and when it is calculated by month, it is one point every day.
If this is the case, trigger Highcharts.chart(idSelector, options) when clicking the switch button and redraw it using another configuration.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!