score:3
that datasource is ouputting jsonp, which is for cross-domain ajax requests. it's not valid 'raw' json because of that extra callback(...)
wrapper.
read up about it here: http://api.jquery.com/jquery.ajax/ under the 'datatype' section.
score:2
as you say in your tags, it's not json, it's jsonp. do not parse it, catch it with a callback. use jquery.getscript
to do it, and define function callback(data)
. inside that function, data
should contain the (parsed) object. also, replace the ?
in the url with callback
(or whatever you named your function) - ?
is not a valid identifier in javascript, so ?([....])
is nonsense.
Source: stackoverflow.com
Related Query
- Incorrect JSON data format
- Write JSON parser to format data for pie chart (HighCharts)
- How to format my json data for stack column chart in HighCharts
- How to create data in Json format for highcharts
- Highcharts JSON decimal data format issue
- Getting data from Postgres in JSON format in ROR into a Highcharts javascript
- returning data in json format not properly showing
- Convert pandas json for highstock data format in a angularjs controller
- Convert JSON data into format in Highcharts' basic line chart
- How to format json data in miliseconds to Date format in highcharts?
- Highcharts Single Line series JSON date data format
- Highcharts json data format
- HighCharts Bubble graph JSON as data source
- How to change JSON Format For load data to Highchart
- YQL finance data JSON format for use with highcharts
- Formatting PHP/MySQL data in correct JSON format for HighCharts
- Highcharts format json data from php script / unixtime
- Not able to show data labels of column in highchart , incorrect format is showing
- How to add the years in xAxis date format while exporting? Also how to add the data source during the exporting?
- Highcharts displays series names but missing data points from json source
- How to format the following JSON data using Javascript/Jquery?
- How to format Highcharts columnRange to get json data for temperature Min and Max
- how to create proper json data format from mysql for highcharts
- Highcharts PHP JSON - correct data format
- Reload chart data via JSON with Highcharts
- JSON.parse: unexpected non-whitespace character after JSON data in javascript
- creating highchart with ajax json data
- Plot Highchart Gauge with JSON Data
- json date format to Highcharts date format
- How to pass json data to highcharts series?
More Query from same tag
- Highcharts highstock tooltip series order
- Highcharts Gantt - how to use a different shape for the milestone markers?
- Reset HightChart After a week Using PHP
- highcharts minPointLength do not work for unstacked bar chart
- Always position Highcharts tooltip on top with respect to the marker point
- Highcharts tooltip not showing on unsort data
- using angular directive to draw highchart pie chart but when i am using it in success function it is not working
- Which one is better to represent an API fetched data in react js and please explain how to do that?
- Highcharts Columns with empty columns
- TypeError: B is not a function when exporting
- HighChart JavaSCript two spline updating in the same graphic
- highcharts.js push line to the bottom of the charts when y values are all 0
- Can we add fixed buttons on top of bars in highcharts bar chart
- Y-axis exceeds the max value when height of highchart is decreased
- Highcharts Tooltip not rendering properly if it has material icons
- Highchart x-Axis labels shows double dates
- Display yAxis label on a diagonal line
- Testing Highcharts with selenium
- Highcharts area with data labels on others data labels
- Angular - Higchart doesn´t wait to ngOnInit
- How to write e2e test cases for highcharts-angular
- Unable to download a file using java
- Slanted highcharts axis labels overlap with legend
- Highcharts series not loading
- Highcharts: How to plot date field in x-axis?
- How to disable tooltip in highcharts gauge?
- Create spline chart from edge to edge of graph
- Highcharts - Dyanmic graph with no initial data
- HighCharts - Add vertical lines from a desire point
- Surround Highcharts points