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

Elaborated the last FAQ regarding tab widgets


git-svn-id: https://flot.googlecode.com/svn/trunk@234 1e0a6537-2640-0410-bfb7-f154510ff394
parent 00232cb0
...@@ -54,20 +54,21 @@ libraries, see the documentation in jQuery ("Using jQuery with other ...@@ -54,20 +54,21 @@ libraries, see the documentation in jQuery ("Using jQuery with other
libraries") for details. libraries") for details.
Q: Flot doesn't work with [UI framework xyz]! Q: Flot doesn't work with [insert name of Javascript UI framework]!
A: The problem is most likely within the framework, or your use of the A: The only non-standard thing used by Flot is the canvas tag;
framework. otherwise it is simply a series of absolute positioned divs within the
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 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 because the framework you're using is doing something weird with the
DOM. A common problem is that there's display:none on a container DOM, or you're using it the wrong way.
until the user does something. Many tab widgets work this way, and
there's nothing wrong with it - you just can't call Flot inside a A common problem is that there's display:none on a container until the
display:none container as explained in the README so you need to hold user does something. Many tab widgets work this way, and there's
off the Flot call until the container is actually displayed. nothing wrong with it - you just can't call Flot inside a display:none
container as explained in the README so you need to hold off the Flot
call until the container is actually displayed (or use
visibility:hidden instead of display:none or move the container
off-screen).
If you find there's a specific thing we can do to Flot to help, feel 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 free to submit a bug report. Otherwise, you're welcome to ask for help
......
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