Search

4/20/2009

yui-flot: Port of Flot to YUI

yui-flot: Port of Flot to YUI

Flot for YUI
============

YUI-Flot is a port of Flot to YUI.

To use it, include the following lines in your HTML:

<!--[if IE]><script language="javascript" type="text/javascript" src="excanvas.min.js"></script><![endif]-->
<script type="text/javascript"
src="http://yui.yahooapis.com/combo?2.7.0/build/yahoo-dom-event/yahoo-dom-event.js&2.7.0/build/datasource/datasource
-min.js"></script>
<script type="text/javascript" src="yui.flot.js"></script>

The datasource component is optional, and is only required if one of your axes has its mode set to "time".

The documentation for YUI-Flot is maintained on the project wiki at
http://wiki.github.com/bluesmoon/yui-flot/api-documentation

tag: plot

沒有留言: