score:2
Accepted answer
Could you build the chart inside the callback function instead of defining all the options first? Maybe try something like this:
$.getJSON('values.php', function (json) {
$('#container').highcharts({
series: [{
data: json
]},
title: {
text: 'Some Title'
},
subtitle: ...
I can't demo the ajax request but if you put that json straight in the data option, the charts renders like this: jsfiddle
Source: stackoverflow.com
Related Articles
- highchart feed data from php json
- Create Highchart (Column chart) and read data from external json file
- clear cache from Highchart when loading data from a json file
- how to fetch data from json file in highchart
- Build a highchart chart using data from an external JSON
- Highchart graph retrieve data from json url
- Creating a pie highchart from Data in local (OBJECT) JSON file
- Highchart json from mysql data not able to show up in line graph
- How to render Gantt Highchart from data source
- data from AJAX json request not loading in HighChart
- Draw multiple series in Highchart from single JSON data container
- how to get highchart data from external json
- highchart activity gauge chart using json data from a file
- How to set json data from url on highchart and polling the json data after 1 sec to dislay on highchart using Angular js
- Highchart : Unable to populate data from JSON
- Highcharts displays series names but missing data points from json source
- Data parsing from mysql into highchart with json
- creating highchart with ajax json data
- Plot Highchart Gauge with JSON Data
- HighChart Heatmap with JSON data
- Send JSON data to highcharts pie from asp.net MVC controller in C#
- Highcharts: How to load data from JSON to xAxis.categories and series.data?
- get json data from my controller in highcharts.js
- Highcharts bargraph from json data in angularJS
- Highchart does not load data from hidden input when using .val
- Highchart angular directive doesn't redraw from dynamic (ajax) data table
- Formatting JSON from a Pandas data frame for Highcharts within a Django template
- How to make Highcharts fetch data from external JSON file?
- Highchart - Display JSON Data - MYSQL / PHP
- Read back chart details from highchart in json
- Android highchart how to disable export button?
- Highcharts chart resize on window resize event after setting a specific size
- Lines are not united Highcharts
- Grouping Legends in Highcharts
- Highcharts / Highstock: x-axis dates appear as three dots
- Highstocks epoch time mismatch with time zone
- Flags placement on x-Axis on dual pane chart
- Highstock data not showing when setting xAxis min and max
- Highcharts issue with multiple X axes
- Highchart, How to export along with sub-topics Highcgarts Drilldown
- Highcharts: Stop the circle marker from shrinking in size on mouseover
- Highcharts redraw series in chart
- Append onload or redraw event functions dynamically in Highcharts
- Highmaps/Highcharts setData not changing
- Highcarts won't redraw after fetching data from axios request in VueJS
- Highcharts Select menu from csv file and select option programmatically
- Have an issue with JavaScript, AJAX code displaying data
- Increase size of rCharts on Shiny Dashboard
- Highcharts Y-axis labels
- Highcharts visualization tips