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
- How to skip one level of data in a sankey chart?
- Is there any way to highlight the node on search in network chart when using highcharts in angular application
- highcharts - changing color of area depending on y-value
- Highcharts - Using 'errorbar' type overrides axis interval
- highcharts not plotting json string containing x,y pairs (string, float). how to fix?
- Change marker line color in highstocks
- Highcharts point selecting trouble
- Highmaps in React using lat/lon not working
- Remove the strikethrough on legend symbols for line charts?
- Highcharts.js legend items align
- Jquery was not found on this server. Wordpress
- Series Data for column high chart
- Multi series export is misaligned in highcharts
- Highchart data from ajax its not working for me
- Highcharts show/hide datalabel of selected point
- Highcharts hiding series and keeping tooltip
- Why do only 2 of my 3 Highcharts Pie Charts/Graphs are showing
- How to do enhanced\group label\hierarchical label x-axis
- Highcharts stacked area chart with background chart
- How to position highcharts tooltip above chart with outside:true
- Passing data from $ajax call to highcharts
- Automatically join missing data gaps in Highcharts JS
- DotNet.Highcharts and proper JSON
- add custom conditions in highchart configuration
- Highcharts (highcharts-ng) with ng-repeat worked, But need to pass the data for each chart from the attributes
- Highcharts chart with error bars using react-highcharts
- Highcharts polar chart - zero at centre
- Highstock theming range buttons
- Position of highcharts map series
- Show value of last point as label or tooltip on Highcharts Stock Chart