score:20
Accepted answer
Call chart.addSeries to add the whole series in one go instead of adding just the point array to the initial empty series:
function requestData() {
$.ajax({
url: 'api/v1/dashboard/month_mention_graphic',
type: "GET",
dataType: "json",
data : {username : "demo"},
success: function(data) {
chart.addSeries({
name: "mentions",
data: data.month_mentions_graphic
});
},
cache: false
});
}
Source: stackoverflow.com
Related Query
- HighCharts load data via ajax
- Load CSV data via Ajax for display in Highcharts
- highcharts how to load data via ajax
- Load data into Highcharts with Ajax
- Highcharts load data with ajax to populate the tooltip
- How to construct HighCharts data series to match returned Json via ajax call
- HighCharts load data via Json
- How to refresh highcharts (pie chart) data via ajax
- Highcharts load ajax via Json
- Highcharts failing to load intermittently via AJAX
- Load highcharts data with laravel and ajax
- Loading Highcharts data via ajax removes Datalabels
- Reload chart data via JSON with Highcharts
- Get Highcharts Series Data after Load
- Ajax and Highcharts - Display 'loading' until data is retrieved, then populate chart
- Highcharts - Global configuration with common code and unique data & Headings
- HighCharts is slow to load data when building multiple charts
- AngularJS for Highcharts with dynamic ajax data
- Highcharts with ajax and json data what am i doing wrong?
- load data in highcharts from 2 different csv files
- Animation behave differently between initial load and dynamic data series replacement in Highcharts
- Pass Ajax data in highcharts Combination chart
- HighCharts & MVC: How to load whole graph definition and data with JSON?
- highcharts Gauge live data with ajax
- How to Load More Than One CSV Using Highcharts Data Module
- JSON Data Map Issue with HighCharts + Ajax
- Highcharts load series data problem in Angular
- Render Highcharts data table to separate container as chart via drawing API?
- Have an issue with JavaScript, AJAX code displaying data
- Issue with Dates - trying to plot MongoDB data in Highcharts via PHP
More Query from same tag
- Dynamic pointStart in HighCharts ( RoR)
- Highchart Heatmap remove empty rows on legend toggle
- Highcharts : Best practise for generate venn diagram
- Equaling max value in two side of graph in highcharts.js
- Highcharts not updating data on ajax response data
- How to make highchart clickable?
- Highcharts xAxis labels do not auto rotate
- Non-fixed svg height? My pie charts have different size even though svg width and pie size are identical. Svg height is fixed, how do i unfix it?
- Highcharts: Tooltip on Y-Axis Labels
- Updating Y-Axis of Highcharts line graph causes vertical line
- Highcharts, error with xAxis type logarithmic
- rCharts Unable to run examples (HighChart)
- How to increase weight of wordcloud for weight value less than 5 in highcharts
- Pie chart slice radius using HighCharts library
- React Highcharts piechart show tooltip on click outside of highcharts container
- Highcharts: Percentage stacking bar chart with overlayed line graph (secondary axis)
- Is it possible to plot points on a line graph using two separate arrays? (highcharts)
- How to use highcharts' charts.get(location) in React?
- Loading Highcharts data via ajax removes Datalabels
- Pull HighCharts data labels to the right
- Highcharts assign colors to series after using csvURL
- Plot float up & down beyond y-axis in StockChart while dragging navigator
- Stacked percent bar in a spark line grid for Highcharts
- Highcharts sort stacked bar
- How to put progress in percentage inside the solidguage of highcarts
- highcharts categories issues
- HighChart dynamic drill down
- highchart stacked column, display extremely small values in shift lable
- Set Additional Data to highcharts series
- Legend and Axis titles not showing in Highcharts Graph