javascript - defining highcharts in body -


i'm trying use highcharts in system limitation of having define entire content , style of highchart object in < head > destroying architecture. there way describe highchart object < script > section within body?

http://www.highcharts.com/demo/

i did bunch of experiments , flat html file managed put < script > inside < body > , defined < div id="container" >< /div > right below , worked. unknown reason though when try same trick in php system (which cuts , pastes various section of html produce final page, not work.

any ideas?

you can place content , style definition in external file, , reference in document head:

<script src="url_to_your_file.js"></script> 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -