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
Post a Comment