score:2
Accepted answer
You are returning JSON (with a plain text content-type), not JSON-P.
You need to look at the value of callback
in the query string and wrap the JSON in that function call.
e.g. for ?callback=foo
:
foo(/* Your JSON here */);
You should also use the correct content type (application/javascript
).
Source: stackoverflow.com
Related Query
- JSON and Python Django - can't get around same origin issue- callback function isn't called
- how to use highcharts-angular callback function to get chart object
- HightCharts : area range and spline in the same graph issue
- how to sum up all values with same keys in an object inside an array and get their average
- I had follow someone code samples and try apply to my HighChart program but I can't get it work at all
- javascript associative array, looping, and / or scope issue with Highcharts JSON call
- not able to get refs on addEventListener callback function
- Highcharts callback function / handle datalabels and stacklabels
- Get Key names and Values names from JSON and use in Highcharts
- Highcharts, how to get data from array on same js page instead of external JSON
- How do I get DateTime from mysql and set it to json format ready for highcharts
- Get Legends and color code of a piechart
- Linking issue between python script, flask framework, and html
- Issue with click function highcharts-ng and Angularjs
- Highcharts - Get and plot data with MySQLi + JSON (step by step)
- How to format Highcharts columnRange to get json data for temperature Min and Max
- PHP and MySQL, get JSON data to feed HighCharts
- How to get rid of Function calls are not supported in decorators in Angular aot compiling?
- jQuery UI Tabs and Highcharts display/rendering issue
- use highchart and highstock on the same page
- Hiding _groups_ of series in Highcharts and jQuery: how to get acceptable performance?
- Highcharts data series issue with ajax/json and PHP
- python/flask/Jinja2 and Json
- Highcharts Pie Chart ignores percentageDecimals tooltip setting and has floating point inaccuracy issue
- Passing Django Database Queryset to Highcharts via JSON
- Serializing a function as a parameter in json using C#
- Highcharts with JSON data and multiple series
- how to get chart object inside a point event function in Highcharts
- Highcharts: How to load data from JSON to xAxis.categories and series.data?
- highcharts and canvg scaling issue
More Query from same tag
- Too many series drawn with unused CSV data column
- Highcharts: phantomjs export image missing labels
- Scraping data from high charts
- Rshiny Highcharter how can I create a piechart that drills down into another pie chart?
- HighCharts: How to toggle yAxis options on browser resize?
- Highchart not resize properly in angular js
- Highcharts no drilldown on bar / column click
- How to hide labels in the highcharts in the pie
- how to wrap data inside highchart using angularjs
- Highstock and Highmaps together causing issue
- highcharts- php/mysql data fetch
- zone.js:680 Unhandled Promise rejection: chartModule is not a function
- Highcharts null endpoints flush with chart sides
- How do you get the mouse hovered label value with the highcharts custom event plugin?
- Highcharts's pie chart minSize option not working
- Can't disable animation when using Highcharts in polar mode
- HighCharts Vue JS - CSV key
- Multiple series in highstocks
- Population density and Circles (to represent earthquakes) on the same Map
- .Net wrapper for HighStock
- Hight chart show series data in milliseconds
- Unable to download a file using java
- Highcharts - Pass a dictionary as data for a timeline series
- Series Data in HighChart
- Angular Highcharts Custom Legend Label In Area Chart
- highcharts line not fully plotted
- How to change text color of bubble on Highmap on select state?
- Highchart Download Multiple graph on individual page
- Locate a dot with the same xpath in a highchart
- Highcharts warning: Invalid attribute 'src' in config