javascript - Cannot display multiple Highcharts on a single page - Stack Overflow

I am trying to display 3 Highcharts-generated graphs on one page. I have loaded up the first two just f

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742387863a4434421.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信