Realization of broken Line function by echarts

now you need to use echarts to implement a broken-line statistics function, as shown in figure

clipboard.png

displays the data for 10 days, and there may be data changes every hour of the day. If there is a change in the data, the inflection point will be displayed, and the horizontal line will be displayed all the time without any change.


there is an idea to try. Push an array. At first, the array is empty, and then the data changes to the array push data. If you remove the previous data after ten days, you should be able to achieve

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2c5d5-2bb1c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2c5d5-2bb1c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?