About
-----
Flot is a Javascript plotting library for jQuery. Read more at the
website:
http://code.google.com/p/flot/
Take a look at the examples linked from above, they should give a good
impression of what Flot can do and the source code of the examples is
probably the fastest way to learn how to use Flot.
Installation
------------
Just include the Javascript file after you've included jQuery.
Generally, all browsers that support the HTML5 canvas tag are
supported.
For support for Internet Explorer < 9, you can use Excanvas, a canvas
emulator; this is used in the examples bundled with Flot. You just
include the excanvas script like this:
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="excanvas.min.js"></script><![endif]-->
If it's not working on your development IE 6.0, check that it has
support for VML which Excanvas is relying on. It appears that some
stripped down versions used for test environments on virtual machines
lack the VML support.
You can also try using Flashcanvas (see
http://code.google.com/p/flashcanvas/), which uses Flash to do the
emulation. Although Flash can be a bit slower to load than VML, if
you've got a lot of points, the Flash version can be much faster
overall. Flot contains some wrapper code for activating Excanvas which
Flashcanvas is compatible with.
You need at least jQuery 1.2.6, but try at least 1.3.2 for interactive
charts because of performance improvements in event handling.
Basic usage
-----------
Create a placeholder div to put the graph in:
<div id="placeholder"></div>
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 like
this:
<div id="placeholder" style="width:600px;height:300px"></div>
You can also do it with an external stylesheet. Make sure that the
placeholder isn't within something with a display:none CSS property -
in that case, Flot has trouble measuring label dimensions which
results in garbled looks and might have trouble measuring the
placeholder dimensions which is fatal (it'll throw an exception).
Then when the div is ready in the DOM, which is usually on document
ready, run the plot function:
$.plot($("#placeholder"), data, options);
Here, data is an array of data series and options is an object with
settings if you want to customize the plot. Take a look at the
examples for some ideas of what to put in or look at the reference
in the file "API.txt". Here's a quick example that'll draw a line from
(0, 0) to (1, 1):
$.plot($("#placeholder"), [ [[0, 0], [1, 1]] ], { yaxis: { max: 1 } });
The plot function immediately draws the chart and then returns a plot
object with a couple of methods.
What's with the name?
---------------------
First: it's pronounced with a short o, like "plot". Not like "flawed".
So "Flot" rhymes with "plot".
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.
没有合适的资源?快使用搜索试试~ 我知道了~
resin-4.0.141119
共769个文件
xtp:168个
png:132个
gif:43个
需积分: 9 7 下载量 24 浏览量
2018-04-17
10:24:20
上传
评论
收藏 42.4MB RAR 举报
温馨提示
本资源为resin-4.0.141119,有需要的下载吧! eclipse配置Resin可参考博文: https://blog.csdn.net/qq_25646191/article/details/79970402
资源推荐
资源详情
资源评论
收起资源包目录
resin-4.0.141119 (769个子文件)
011fed88b969a5c3c80c87c60c9251815ff564 275KB
013fed78f333c928ff7f828948b91fcb5a92b4 64KB
01ae034359dce452705050076138f952e86399 14KB
023b01a2b0fdc3a6a9741354852c3745d8d92d 405B
07bac1bf0ec011c1326937c1fd1e6b4135a559 86B
1002c8e3bf3b89b59c60a80455910974e205ea 101KB
105611f3aa365712150d611e4affcfb363f2a7 221KB
10cff831abc390e7fedca50e158a94f68c0a2d 1KB
123a142793137c8f0b851197b6a730534dc345 87B
184261a06e11fa22c9a39750a5c25bf7db406c 183B
1963fc3eff3f722a6f3a805bf06491cc390219 5KB
197e513228143f2aa1cc226b9052ab24383ba9 318KB
1a0a331ca5d9428c9764df3fbbd3556f5a0ec6 47B
1cab6921556fae5f34dcf8b1b28462c7b273c0 109B
access.log.20141122 38KB
access.log.20141129 96KB
access.log.20141227 40KB
access.log.20161203 27KB
access.log.20161210 98KB
access.log.20161217 96KB
access.log.20161224 249KB
access.log.20161231 85KB
tracing.log.2017-09-05-14 0B
access.log.20170107 34KB
access.log.20170114 414KB
access.log.20170121 277KB
access.log.20170128 102KB
access.log.20170204 359KB
access.log.20170211 485KB
access.log.20170218 916KB
access.log.20170225 1.12MB
access.log.20170304 1.63MB
access.log.20170311 966KB
access.log.20170318 523KB
access.log.20170325 500KB
access.log.20170401 512KB
access.log.20170408 691KB
access.log.20170415 836KB
access.log.20170422 1.06MB
access.log.20170429 890KB
access.log.20170506 275KB
access.log.20170513 862KB
access.log.20170520 457KB
access.log.20170527 256KB
access.log.20170603 47KB
access.log.20170610 345KB
access.log.20170617 544KB
access.log.20170624 783KB
access.log.20170701 198KB
access.log.20170708 731KB
access.log.20170715 816KB
access.log.20170722 1.27MB
access.log.20170729 435KB
access.log.20170805 95KB
access.log.20170812 193KB
access.log.20170819 73KB
access.log.20170826 55KB
access.log.20170902 330KB
common-default.log.20170905 37KB
common-error.log.20170905 3KB
common-alarm.log.20170905 0B
common-web.log.20170905 0B
common-paygate.log.20170905 0B
common-perf.log.20170905 0B
common-service.log.20170905 0B
common-ch5.log.20170905 0B
common-dao.log.20170905 0B
common-business.log.20170905 0B
access.log.20170909 115KB
access.log.20170916 7KB
access.log.20170923 4KB
access.log.20180331 20KB
access.log.20180407 1.05MB
access.log.20180414 770KB
20e838d934b17b78c667ceb54efaf310127656 415B
21aaad0a1d1d1c582afb6639490005fd0579d0 405KB
2244411890faeeafd32bee5d2288a31dfc2358 55B
23cf0476365bcda4255c78cbef1700e4fb8ea7 41KB
2652b2bf66fdbe91853629385f4529b7e1081f 41KB
299ee497047c3bb00d00473e8e174736f48681 61B
2c08e7f75cf5c50fb0b4c2077281d33519cc67 191KB
31abe543ac57264925c319b871893c810786de 18KB
35409682ee2173ee74cc9e9b00469d7fa0a27e 183KB
3638b6cf4734ceb716bbd1155c6a82b6f29e5b 32KB
37fdec4cd34a76aa46727f2581368923aa374a 17KB
39200f2711171ee7185f2d3dfbf903da09c6d3 331KB
3b1c0a7e8d532c2c40f9ed5a8d97afdab301f8 54KB
3c4b27b2109997141171a4ae50f454cbcda382 179KB
41583a3d66e2ce33ddd351e916e51ec3665247 118B
440c02e575992a5bb2d007a78daee82163c859 98KB
488d2600f5f4784c0ba2be5baa4c41f396f616 55KB
4b35176dd117025a54c2bfbba5bcc3839a58ff 45B
4bc9e57aa300d89ee267ae221b54b0bdd4901b 361KB
4cf82d9e7ef824c459c3cf6baaf46eb3534a21 350KB
5ae2e9ffd424d8b99bf5fe89a0ad1ebe642d78 2KB
5b47a1d357f6e787422164f611935cf395f948 74B
5f3c888c383c61785ca68bb7c23b2459d13a99 5KB
616de748aeb83fc570ea2ac18b946ed664c1f4 710B
618bd0e470f9243133734f8d6e6c3443aab1d4 82KB
63245209c5ac310b67f9b5dd79418927811238 86B
共 769 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
懵懂无知的蜗牛
- 粉丝: 66
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功