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 Query
- highchart feed data from php json
- Highchart - Display JSON Data - MYSQL / PHP
- Generating json data for StockChart from PHP
- load data from text file into HIGHCHART graphic using PHP
- 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
- Bars does not show up when loading JSON encoded data from PHP in Highcharts
- How to render Gantt Highchart from data source
- data from AJAX json request not loading in HighChart
- Highcharts format json data from php script / unixtime
- Draw multiple series in Highchart from single JSON data container
- Passing data from PHP array to Highcharts chart with JSON
- 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
- Displaying highchart and using php to get data for the chart from mysql database
- 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
- Updating speedometer data from json object created with PHP script
- Highcharts and JSON data from PHP
- PHP and MySQL, get JSON data to feed HighCharts
- creating highchart with ajax json data
- Plot Highchart Gauge with JSON Data
- HighChart Heatmap with JSON data
More Query from same tag
- Incrementing a date by the {point.x} value in Highcharts
- highchart line chart last null value is not conected with line
- generate valid JSON for highcharts on click
- Problem loading an array initialized in another script on webpage
- Unable to load json File for highcharts
- get values of date-input-boxes from rangeSelector
- Remove HighCharts border for Android
- Change Style of Title in HighCharts in ActionResult
- Is it possible to have an adjustable line in highcharts stack area graph?
- Load mysql data to Highcharts line chart using JSON
- Displaying time series data in a highchart
- How to programatically (Python) scrape streaming live stock chart ticker data and its indicators
- highcharts - create a total sumline of an existing serie
- Highcharts series rendering problems
- Is it possible to define an image map area by radial coordinates?
- Highchart axis 2 decimal places
- Color grouped bars slightly different in HighCharts
- how to get last value shown yAxis highcharts
- How do I show multiple datapoints in HighMaps?
- Add two json data series in one highchart
- Data manipulation for heatmap
- Website content is not responsive in PDF A4 page
- Integrate highcharts-custom-events with React
- Which chart type should i choose to show change in values between 2 dates?
- highcharts stackLabels updating issue
- Issues with series.data in highcharts
- How to customize which items appear in the built-in StockTools toolbar?
- Highcharts - Turning on and off gridlines on show, hide, or legendItemClick
- Custom buttons on Highstock not enabled
- HighCharts : Adding Hyperlinks to the X-Axis of the chart