Commit cf12db47 authored by olau@iola.dk's avatar olau@iola.dk

Clarify how to set the dimensions

git-svn-id: https://flot.googlecode.com/svn/trunk@14 1e0a6537-2640-0410-bfb7-f154510ff394
parent f1d6a371
......@@ -34,8 +34,12 @@ Create a placeholder div to put the graph in:
<div id="placeholder"></div>
You need to set the width and height of this div, otherwise the plot
library doesn't know how to scale the graph. You can do it inline or
with an external stylesheet.
library doesn't know how to scale the graph. You can do it inline like
this:
<div id="placeholder" style="width:600px;height:300px"></div>
You can also do it with an external stylesheet.
Then on document ready, run the plot function:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment