score:0
Accepted answer
You are passing it as a string data ='...'
. Remove single quotes ''
.
data = [{"name":"France","data":[[1960,520325],[1961,548976],[1962,585604],[1963,616918],[1964,657130],[1965,688528],[1966,724428],[1967,758391],[1968,790691],[1969,845964],[1970,894468],[1971,942148],[1972,984897],[1973,1050000],[1974,1099250],[1975,1086890],[1976,1134560],[1977,1175100],[1978,1220870],[1979,1262980],[1980,1283650],[1981,1296210],[1982,1327540],[1983,1343900],[1984,1363980],[1985,1385940],[1986,1417210],[1987,1451060],[1988,1518790],[1989,1582390],[1990,1623850],[1991,1640720],[1992,1664970],[1993,1653860],[1994,1691030],[1995,1725650],[1996,1744070],[1997,1782150],[1998,1842360],[1999,1903010],[2000,1973040],[2001,2009260],[2002,2027920],[2003,2046160],[2004,2098230],[2005,2136560],[2006,2189260],[2007,2239300],[2008,2237490],[2009,2167070],[2010,2204450]]}];
Source: stackoverflow.com
Related Query
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- Generating Highcharts from MySQL data with PHP does not work
- Highcharts heat map does not work with a wide range of data values (min: 0, max: 5,000,000)
- Highcharts does not work with wicked_pdf
- Highcharts data from a variable is not working but from works fine from an array
- Highcharts (highstocks) tooltip does not work on latest firefox 64.0 with useHTML=true
- Multiple charts with same data not loading in same page: Highcharts
- Highcharts with angularjs drilled down does not work
- Highcharts Highmaps the data does not match with polygons correctly
- Why does highcharts sankey chart sometimes combine multiple nodes with same node name but different Id into one and hide the lines?
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- Highcharts does not display years on Xaxis when data with NULL values
- xAxis.Categories does not works in highcharts when used with range selector
- Bars does not show up when loading JSON encoded data from PHP in Highcharts
- Annotations work with HighStock but not with Highcharts
- Highcharts Range Selector does not work with multiple series
- Highcharts - Pinch zoom does not work on chart with multiple y axes
- Highcharts Caption when verticalAlign set to 'top' margin does not work
- Highcharts Date.UTC does not work properly for real data
- In Highcharts How to keep rectangle such SVG elements attached with series data but not with pixel when resize,reflow,redraw,zooming in out?
- Highcharts with Public Google Spreadsheet does not work
- Highcharts live data update does not work
- Highcharts navigator not working with data set
- Highcharts data series issue with ajax/json and PHP
- Highcharts reflow does not work on class selector
- Code works on fiddle but not when I do /show
- Highcharts - Global configuration with common code and unique data & Headings
- How to populate a Highcharts axis with string formatted data from a PHP array
- Highcharts not displaying series data for graph with multiple Y-axes
- Gauge Series of Highcharts with React not the Solid Gauge but Gauge Series
More Query from same tag
- putting category and image in HIGHCHARTS
- Highcharts navigator mouse over not working
- Output query data in other format for chart to recognize
- Highcharts pie charts individual sections are not receive focus. Tooltips are not displayed on focus
- Set Duration for tooltip in highchart
- How to make mathematical chart with HighCharts?
- In Highcharts, is it possible to add a border to the legend symbol?
- Highcharts.js cannot see graph line
- Scala.js referencing using this
- Apply visual theme to highMaps?
- How to use Highcharts to implement this dynamically shifting from right to left effect?
- Highcharts: misaligned date on multiple axis
- How to get data for series and categories in highcharts-convert.js from mysql
- Highcharts thinks all dates are 1970-01-01, despite them being valid epoch times
- HighCharts Multiple Point selection - access/update getSelectedPoints array immediately after point select
- Issue with json data mapping with Highcharts
- Highcharts bar data labels position
- HIGHCHART Activity guage tooltip issue
- Keep selection in highcharts even on page refresh
- Create HighCharts-Column type from JSON
- Spider Chart (High Chart) in rails with Prawn PDF How to generate?
- How to add vertical (and horizontal) line in highcharts scatter plot
- Unable to render 'bullet' chart via node-export-server from highcharts
- Add new series[0].data into already existing highchart
- Highcharts Drawing a line with chart.renderer.path
- Angular 8 highcharts How to pass custom data to drilldown event in Highcharts
- Fixing "Uncaught ReferenceError: Highcharts is not defined" in Rails app
- Adding value to high chart's Spline Graph from mysql
- Yii HighCharts not displaying from $vars but display when hardcoded
- Highcharts: xAxis label above bar in horizontal bar charts