score:1
Accepted answer
My issue was the JSON was not being parsed by jQuery on the view and essentially passing it to the highcharts series raw. By adding jQuery.parseJSON(chartData);
It was able to parse correctly and display on the chart.
score:0
With jQuery you can try like this:
var dataPoint = [[1470406561000,2116],
[1470406561000,2116],
[1470406562000,2116]];
var chart = $('#chart2').highcharts();
chart.series[0].setData(dataPoint);
$('#chart2').highcharts().redraw();
Please make sure you change chart id i.e. #chart2
correctly as per your code.
Source: stackoverflow.com
Related Query
- How to insert json within an array into highcharts?
- How to fetch json array data into highcharts in angularjs
- how to parse json into highcharts
- How to parse JSON into HighCharts line graph?
- Angular 11 - How to import array data into highcharts
- Yii2 How to pass php array data into highcharts
- Highcharts csv data loading and parse into separate array and json
- How to load custom JSON data into Highcharts mapbubble?
- How to convert array values of console into highcharts
- How to store highcharts compatible json array data in mongodb
- How to build a JSON data array for Highcharts display - switching values for xAxis/columns
- How to pass multiple Highcharts parameters in JSON array
- how to import JSON data into VS2012 to plot highcharts
- How do you change the colour of each category within a highcharts column chart?
- How to pass json data to highcharts series?
- highcharts how to catch and insert logic in click reset zoom button event
- How to get multiple data series into Highcharts
- How to pass custom data into Highcharts graph click event
- How do I set highcharts line graph point colors to an array of colors?
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- How to output JSON in python so it can be used for Geckoboard's Highcharts plugin
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- How to populate a Highcharts axis with string formatted data from a PHP array
- Importing JSON file into Highcharts for Bar Chart Visualization
- how to sort and select top 5 elements in a json array using angular JS
- To pass dynamic json array to Highcharts Pie Chart
- How to format my json data for stack column chart in HighCharts
- How to access outer scope variables within a click function in HighCharts
- How to Build a Column Chart in Highcharts with Data Entered Dynamically Within a CMS
- Formatting JSON from a Pandas data frame for Highcharts within a Django template
More Query from same tag
- Showing Context Menu on right click of High Chart series
- Change marker line color in highstocks
- What do the totals do in a highcharts rose chart?
- Column Chart Show datalabel for null values - Highcharts
- How to assign colors to categorical variables with a stable mapping in R highcharter?
- Highcharts in Vue.js component
- need help to optimize php iteration
- Highchart's y axis overlay with another
- Highcharts: how to be DRY with charts which share some configuration parts?
- Retrieve data from Parse.com and Display it in amcharts.js or highchart.js
- Highcharts js set last month x axis data
- Update Line Chart (High Charts) after applying filter
- Async Drill-down not updating of HighCharts
- rangeSelector selected not working when chart is created in Jquery
- How to concatenate 'this.name' with HighCharts & PhantomJS
- Javascript callbacks in Typescript. Accessing both class members and javascript 'this' parameter
- How to set custom tooltip design in HighCharts?
- Highcharts read text file
- how to limit the label size only for bubble diameter in high charts
- Highcharts area-spline fill gradient possibly undefined error
- how to add custom class name to tick positioner in Highcharts using javascript
- Highcharts 'marker' line padding
- Highstocks tooltip doesnt work when chart is small?
- HIghcharts: Bubble are not showing up beyond scale
- How to add a spikeLine to highchart?
- web interface using jQuery for Java application
- Highstocks component react error
- Using Trellis Chart with Stacked Columns in Highcharts
- Highcharts is not responsive in ajax call
- HighStock Navigator Handles are not moving