Good day everyone!
Need to make a schedule. I liked this https://www.highcharts.com/demo/line-ajax very much. But the trouble is. It is necessary that the data were taken from MySQL, and not from a CSV file. How can this be done?
Good day everyone!
Need to make a schedule. I liked this https://www.highcharts.com/demo/line-ajax very much. But the trouble is. It is necessary that the data were taken from MySQL, and not from a CSV file. How can this be done?
You need to change configs a bit: add the data array to the series and delete data: { csv: csv }, from the main one.
series: [{ name: 'All visits', lineWidth: 4, marker: { radius: 4 }, data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175] }, { name: 'New visitors', data: [43934, 52503, 54177, 69258, 97121, 119931, 137133, 154175] }] Source: https://ru.stackoverflow.com/questions/707225/
All Articles