0

I'm using json to load the charts. I need now to show additional data in the tooltip. I see this example: Set Additional Data to highcharts series

In my page I'm loading a json like this...

[{y:5,test:"test"},{....}]

and in the js file. I tried this :

var options = { chart: {....};

options.series[0].data = json;

When I try to load the charts, it doesn't. What am I doing wrong?

Community
  • 1
  • 1
luckasx
  • 359
  • 1
  • 6
  • 20

1 Answers1

0

My Json is produced by an ASP page. I solved the problem with this..

<%Response.ContentType = "application/json"%>

=D

luckasx
  • 359
  • 1
  • 6
  • 20