0
votes

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?

1
Do you receive any errors, could you attach full example of your chart / code, because it is only piece. - Sebastian Bochan
I already found the answer, that is below. Besides I wasn't getting any errors. Thanks anyway. - luckasx

1 Answers

0
votes

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

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

=D