Hardware Reference
In-Depth Information
Example 6-6. flotDemo.html (flotDemo.html)
<html>
<head>
<title> BoneScript Flot Demo </title>
<script src= "/static/flot/jquery.min.js" ></script>
<script src= "/static/flot/jquery.flot.min.js" ></script>
<script src= "/static/bonescript.js" ></script>
<script src= "flotDemo.js" ></script>
</head>
<body>
<h1> BoneScript Flot Demo </h1>
<div id= "myplot" style= "width:500px;height:300px;" ></div>
</body>
</html>
3. Put both files in the serverExample subdirectory under the Cloud9 IDE ( /var/lib/
cloud9 ).
4. Browse to http://192.168.7.2/serverExample/flotDemo.html , and you'll have a
local version of your demo running.
Go explore the Flot site and see what other plots you can do.
Search WWH ::




Custom Search