From cf12db47c8b59c6a6dccc0cf0da055d9092ea02d Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Tue, 4 Dec 2007 18:35:43 +0000 Subject: [PATCH] Clarify how to set the dimensions git-svn-id: https://flot.googlecode.com/svn/trunk@14 1e0a6537-2640-0410-bfb7-f154510ff394 --- README.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 9a572f0..3d81108 100644 --- a/README.txt +++ b/README.txt @@ -34,8 +34,12 @@ Create a placeholder div to put the graph in:
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: + +
+ +You can also do it with an external stylesheet. Then on document ready, run the plot function: