99
rated 0 times
[
102]
[
3]
/ answers: 1 / hits: 30378
/ 11 Years ago, fri, march 29, 2013, 12:00:00
I am trying to implement a line chart using highcharts, in which I want to color specific points.
So I am using following statement.
JSON.parse([{x: 1,y: 0},{x:2,y:5,marker:{fillColor:'red'}},{x:3,y:8}]);
to color the point (2,5) as red.
But, it is showing error as SyntaxError: JSON.parse: expected property name or '}'
More From » json