Flot is easy to use, just a few lines of code, you can make a simple line chart, it also provides a comprehensive API documentation where you can find examples, usage and methods. The most important, Flot continues to release new versions, each new version comes with new features. We will introduce you more features of Flot in the following chapters.
PerformanceFlot can handle hundreds of data points easily, even if you`re using real time update chart, to redraw the chart in every 100 milliseconds, still runs very fast. Flot can be run on IE、Firefox、Chrome、Safar and Opera. Because Flot uses HTML5 Canvas, if you`re using IE8 and below, you can use excanvas to make IE simulates HTML5 Canvas, this way makes Flot can work properly on IE.
How to useYou can download Flot from here .
Then including the required files below in the <header>.
Next, insert a <div> into <body> and specify an id to it, this is where the chart will be inserted, also you need to specify width and height.
<div id="flot-placeholder" style="width:300px;height:150px"></div>