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
- Highchart tooltip variable width
- Highcharts Series from AJAX
- Highcharts connected mappoint with "direction"
- highcharts: How do I change the color of the chart above?
- How to use HighChart in offline?
- Mutually Exclusive Drag/Drop Graph Events
- Highcharts showing in some pages, not showing in root pages
- How to use Jquery knob like text label with highchart Jquery plugin
- Unable to display the chart using Ionic3/2
- Highcharts exporting hide data labels if number doesn't fit in stacked bar
- Highstocks 1M Zoom not active
- Highstock chart doesn't show correct width in Phonegap app
- Remove Square Bracket From Array Key PHP
- highcharts in new window with ajax and jquery
- Highcharts gradient fill how to?
- How to change highcharts bars width individually
- Set color of Highcharts series bar based on value
- Highchart Heatmap chart for days in a month
- Issue configuring Highcharts/ Highstock candlestick (React JS)
- Highmaps min/max color not working as expected
- To add zAxis dynamically, but doesn't work... Highcharts
- Load values for high Chart Values in jquery
- How to give plotlines text styles on opposite side instead of default
- Setting additional data to Highchart series via <%= #{} %> works for integers but not Strings
- How to customize graph title and subtitle
- How to make a multi pane on highstock (highcharts) which contain a stacked area graph?
- Is is possible to create a grouped bar chart in HighChartJS?
- Highstock default tooltip format symbol
- Unable to render SVG as dataURI in Highcharts marker
- Format Highcharts y-axis labels