javascript - Can I add on the webpage, data that I get from a Highcharts function? -


i add text canvas, on top of legend , other text implemented in highcharts; thinking add elements page on have chart container.

now not sure if can so, since data require needs come data highcharts uses build charts (csv files), average, min-max , on.

is there easy way so; or should add different script in page, written in pure js, retrieve data , present it?

or can add these info directly on canvas? still new hc, not sure can , such.

in general, once loaded file, can create chart , add info on page, snippet:

$.get(url, function(data){      createchart(data);     addextrainfotothepage(data); }); 

now can write 2 functions , want.

you have solution, after created chart can add info th page, snippet:

$.get(url, function(data){      // parse csv file ...     $("#contianer").highcharts({         // set options, series etc.     }, function(chart) {         // add info min/max/avg page here         // have access series like:         // chart.series[index]     }); }); 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -