Commit 6a7f952e authored by olau@iola.dk's avatar olau@iola.dk

Clarify the Prototype/Mootools question

git-svn-id: https://flot.googlecode.com/svn/trunk@113 1e0a6537-2640-0410-bfb7-f154510ff394
parent 5785c2db
......@@ -20,14 +20,16 @@ millisecond wide.
Q: Can I use Flot with libraries like Mootools or Prototype?
A: Yes, and it's easy! Call jQuery.plot instead of $.plot and put in
DOM elements where the examples and the API documentation are using
jQuery objects.
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.
A: Yes, Flot supports it out of the box and it's easy! Just use jQuery
instead of $, e.g. call jQuery.plot instead of $.plot and use
jQuery(something) instead of $(something). As a convenience, you can
put in a DOM element for the graph placeholder where the examples and
the API documentation are using jQuery objects.
Depending on how you include jQuery, you may have to add one line of
code to prevent jQuery 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 [widget or server-side framework xyz]!
......
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