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
- Highstocks is rounding all of my data
- Highcharts => Getting the id of a point when clicking on a line chart
- highcharter: BoxPlot Outliers not being on correct x-axis point
- defining highcharts in body
- Loading Highcharts within an angular application
- HighCharts: How to Determine on Click Event what Data Grouping the Chart is Currently In?
- HighCharts.js TickInterval dynamic change
- Override tick interval calculation in Highcharts?
- Append the data values in Highcharts
- Highstock.js question: how to draw VWAP indicator only for current day data?
- merge a few lists and regroup them into a dictionary to plot to multi-series Highcharts
- How to position tooltip when moving along y-axis?
- how to pass data in Highcharts(Line Graph)
- How do get highcharts combo column scatter to work?
- Add Local HTML and JS file using React Native Webview
- Highstock scrollbar issue with single point
- Get time from Psql to Highstock
- highcharts zoom bug (column chart)
- Add series total to legend in Highcharts
- Fixing the decimals on y axis to 5 places
- Pie chart Slice color Change Dynamically in Highcharts
- How to give box shadow for rect in highcharts?
- Highstock - Remove bottom date tooltip from line chart
- developing interactive app using shiny and highcharter
- json_encode and highcharts
- In highchart Y-axis plotline labels get cut off
- sort/arrange on date in dashboard
- How to drag select multiple columns on highstock chart and have it reflect on the navigator?
- How to remove a gap in high charts graph with two yAxis
- Create Table using Highcharts GWT