score:21
Accepted answer
Your data is a String, it needs to be an array of array, where the inner array consists of two elements, the first being the key as string, and 2nd the value in numeric form.
success : function(data) {
var chartData=[];
$.each(data.jsonArray, function(index)
{
$.each(data.jsonArray[index],
function(key,value) {
var point = [];
point.push(key);
point.push(value);
chartData.push(point);
});
});
chart.series[0].setData(chartData);
}
score:0
You can prepare your data first, like in the @Jugal Thakkar answer above, and then use update
function available from v5.
chart.update({
series: preparedSeriesData
});
this will dynamically update the chart.
Source: stackoverflow.com
Related Query
- how to set dynamic data in highcharts
- Highcharts How to Show Loading Animation At Set Data
- Highcharts: How do I set dynamic data to the drilldown pie chart?
- How to structure Angular with Highcharts and lots of dynamic data
- Highcharts - how to set textShadow for data labels
- HighCharts how to add live series data set to existing chart
- Highcharts how to make a set number of colors for pie chart data and drilldown data
- How can i use dynamic data on a Highcharts chart?
- How to have multiple highcharts with different series data in vuejs without repeating code
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- How to set point in highcharts when x axis and y axis has data as text values?
- how to show mutipal dynamic highcharts based on json data
- How to set Highcharts data series in x-axis using crosshairs?
- how do i link my sqlite(PDO) databse data to highcharts code
- How to bind dynamic data to highcharts basic area graph
- How to bind dynamic data to highcharts in Windows Phone 8.1 application
- How to get column chart in angular using highcharts using dynamic data
- How to bind dynamic data in highcharts Tooltip
- How to set columnrange width to expand the length of the x-axis in multiple data series in Highcharts
- How can i add dynamic data inside flag series in highcharts
- Set Additional Data to highcharts series
- How to set Highcharts chart maximum yAxis value
- How to make highcharts default to 0 for missing data
- Highcharts - how to have a chart with dynamic height?
- Set highcharts y-axis min value to 0, unless there is negative data
- how to set the interval of points on Y - Axis highcharts
- How to show No Data Available Message in highcharts
- How to display No Data Available Message in highcharts
- How do I dynamically change a data point in Highcharts using JavaScript
- HighCharts - How to create dynamic chart that exports EVERYTHING
More Query from same tag
- Unable to get width of <rect element of <svg
- Plot options don't work in Variable Radius Pie chart
- Add values to rCharts hPlot tooltip
- Check all charts for data and hide ones that have none
- How to change font size of chart title in downloaded pdf with jspdf
- How to loop through highcharts theme
- Highcharts scatter plot - make tooltip not follow pointer
- Highcharts axis labels cluttered but after a refresh, it'll be OK
- How to instruct highcharts scatter chart to print all dataLabels
- Highcharts(highstock), how to Pass the dates to the navigator
- Highcharts Bar Chart Without Column
- Increase or decrease point intervals in high chart
- Draw multiple series upon mouse hover in Highstock
- Highcharts JS 'columnrange' chart value formatting
- datatable and highchart functionality not working with 'View All' bootstrap tab
- Optimise Tick Positions To Minimise Wasted Space At Top Of Chart
- Highcharts: chart inside Tooltip: "image retention" in Firefox
- Highcharts: completely custom label positions on x-axis
- how to pass multi sereis data with dual y axis chart in highchart
- I had created a scatterplot using Highcharts but the the point.z value is not getting displayed in tooltip
- How to generate single PDF of page that contained multiple highcharts in DIVs
- HighCharts: Getting Y-Value in One Series Based on X-Value From Another Series
- 2 column layout for Highcharts legend categorized by type - React highcharts
- Highgraphs dynamically changing type
- Highcharts X-Axis Issue
- Showing multiple Tooltips in highcharts simultaneously
- How to create a drilleable bar graph in jsp page using open source charts API
- How do I manage the imports in Angular correctly?
- Highcharts not displaying data at some zoom levels
- Highchart Activity Gauge always display text in the center