最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Highcharts not working on webpage - Stack Overflow

programmeradmin0浏览0评论

Hopefully somebody can help me with this because it has been bugging me for days.

I am building a website that uses the Highcharts library to display a single line series chart. For some reason I cannot get the demo chart to display on my page. I have put my CSS, javascript and html into a jsFiddle and it displays correctly but when I open the page normally in HTML everything loads except for the chart.

here is the jsFiddle of my webpage: 

/

here is the jsFiddle of the demo on the highcharts website: 

/

Can anybody tell me what is going wrong?

Thanks

Hopefully somebody can help me with this because it has been bugging me for days.

I am building a website that uses the Highcharts library to display a single line series chart. For some reason I cannot get the demo chart to display on my page. I have put my CSS, javascript and html into a jsFiddle and it displays correctly but when I open the page normally in HTML everything loads except for the chart.

here is the jsFiddle of my webpage: 

http://jsfiddle/s5RUX/

here is the jsFiddle of the demo on the highcharts website: 

http://jsfiddle/z55AA/

Can anybody tell me what is going wrong?

Thanks

Share Improve this question asked Mar 31, 2013 at 15:13 JamesJames 1112 gold badges4 silver badges15 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

You propably have to insert the scripts in a specific order (jQuery library first, then third-party one). If it's not this, check if functions are not colliding with each others by debugger (built-in in chrome, for example), or is the proper jQuery version in your site is installed.

Highstock includes Highcharts, so eliminate the Highcharts reference in your scrip loads and this error should go away.

发布评论

评论列表(0)

  1. 暂无评论