Answer the question
In order to leave comments, you need to log in
How to display data in Highcharts from Ajax?
Good afternoon.
Faced the problem of outputting data in a series of highcharts charts.
I'm displaying data on the site via ajax:
function data_load()
{
$.ajax({
type: "GET",
url: "/lk/data.php"
data: "get=AJT&AJT=15&skill=0&time=get",
success: function(html) { $('#data_in').append(html);}
});
}
<div id="data_in"></div>
series: [{
data: [//вот тут вывод данных из id="data_in"],
name: "AJH"
}]
Answer the question
In order to leave comments, you need to log in
You can use {} to specify in what order to output data to the chart
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question