admin管理员组

文章数量:1335423

I am trying to display 3 Highcharts-generated graphs on one page. I have loaded up the first two just fine but when I add the Javascript for the third all of them do not show. I have duplicated my code in this JSFiddle:

/

Any help or guidance would be really appreciated.

I have checked out this answer: Manage multiple highchart charts in a single webpage

And googled around a lot. I am sure it is my limited understanding of Javascript holding me back.

I am trying to display 3 Highcharts-generated graphs on one page. I have loaded up the first two just fine but when I add the Javascript for the third all of them do not show. I have duplicated my code in this JSFiddle:

http://jsfiddle/ricburton/bCU2E/

Any help or guidance would be really appreciated.

I have checked out this answer: Manage multiple highchart charts in a single webpage

And googled around a lot. I am sure it is my limited understanding of Javascript holding me back.

Share Improve this question edited May 23, 2017 at 10:29 CommunityBot 11 silver badge asked Jul 24, 2012 at 8:17 Richard BurtonRichard Burton 2,2406 gold badges35 silver badges49 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

you've missed } somewhere, here is what I see in firebug:

missing } after function body

edit

you haven't closed last closure, add }); at the end of code

I have also removed 2 closures and only one, see updated code: http://jsfiddle/bCU2E/2/

Your syntax was wrong, updated; here is the correct fiddle

本文标签: javascriptCannot display multiple Highcharts on a single pageStack Overflow