From aa4256faa5af85686f3363ba1a9208c5c48be807 Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Thu, 20 Nov 2008 10:09:53 +0000 Subject: [PATCH] Move FAQ to separate file git-svn-id: https://flot.googlecode.com/svn/trunk@111 1e0a6537-2640-0410-bfb7-f154510ff394 --- FAQ.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++ README.txt | 28 ---------------------------- 2 files changed, 44 insertions(+), 28 deletions(-) create mode 100644 FAQ.txt diff --git a/FAQ.txt b/FAQ.txt new file mode 100644 index 0000000..84e510b --- /dev/null +++ b/FAQ.txt @@ -0,0 +1,44 @@ +Frequently asked questions +-------------------------- + +Q: Can I export the graph? + +A: This is a limitation of the canvas technology. There's a hook in +the canvas object for getting an image out, but you won't get the tick +labels. And it's not likely to be supported by IE. At this point, your +best bet is probably taking a screenshot, e.g. with PrtScn. + + +Q: The bars are all tiny in time mode? + +A: It's not really possible to determine the bar width +automatically. So you have to set the width with the barWidth option +which it is NOT in pixels, but in the units of the x axis. For time +mode that's milliseconds so the default value of 1 makes the bars 1 +millisecond wide. + + +Q: Can I use Flot with libraries like Mootools or Prototype? + +A: Yes, and it's easy! In the API documentation and examples you +simply replace $ with jQuery. Depending on how you include jQuery, you +may have to do one more thing to prevent it from overwriting functions +from the other libraries, see the documentation in jQuery ("Using +jQuery with other libraries") for details. + + +Q: Flot doesn't work with [framework xyz]! + +A: The problem is most likely within the framework, or your use of the +framework. + +The only non-standard thing used by Flot is the canvas tag; otherwise +it is simply a series of absolute positioned divs within the +placeholder tag you put in. If this is not working, it's probably +because the framework you're using is doing something weird with the +DOM. As a last resort, you might try replotting and see if it helps. + +If you find there's a specific thing we can do to Flot to help, feel +free to submit a bug report. Otherwise, you're welcome to ask for help +on the mailing list, but please don't submit a bug report to Flot - +try the framework instead. diff --git a/README.txt b/README.txt index f707d83..83d9a81 100644 --- a/README.txt +++ b/README.txt @@ -78,31 +78,3 @@ And if you look up "flot" in a Danish-to-English dictionary, some up the words that come up are "good-looking", "attractive", "stylish", "smart", "impressive", "extravagant". One of the main goals with Flot is pretty looks. Flot is supposed to be "flot". - - -Frequently asked questions --------------------------- - -Q: Can I export the graph? - -A: This is a limitation of the canvas technology. There's a hook in -the canvas object for getting an image out, but you won't get the tick -labels. And it's not likely to be supported by IE. At this point, your -best bet is probably taking a screenshot, e.g. with PrtScn. - - -Q: Flot doesn't work with [framework xyz]! - -A: The problem is most likely within the framework, or your use of the -framework. - -The only non-standard thing used by Flot is the canvas tag; otherwise -it is simply a series of absolute positioned divs within the -placeholder tag you put in. If this is not working, it's probably -because the framework you're using is doing something weird with the -DOM. As a last resort, you might try replotting and see if it helps. - -If you find there's a specific thing we can do to Flot to help, feel -free to submit a bug report. Otherwise, you're welcome to ask for help -on the mailing list, but please don't submit a bug report to Flot - -try the framework instead.