Saturday, 23 March 2013

ITBAL-Session 9 (19.03.13)

FLOT

It is a javascript library for plotting line graphs and bar charts. It is a jQuery library that works in all the browsers that support canvas. In addtion to library for plotting bar and line graphs it has numerous call back functions making it possible to use our own style and code. One major limitation is that it can be used to plot only bar charts and line graphs, so can be used only for common functions.

Industrial Applications
Education: Used to create learnining material and plot statistical graphs.
Financial: Used for plotting repayment schedules,financial graphing,track stock information, interest rate movements.
Healthcare: To plot wellness statistics,BMI, workout routine progress etc.
IT Monitoring: Used to monitor service, network packet statistics etc.
Science: To display infrared spectra,plot galaxies and other celestial objects.
Sports: To plot wave forecast for surfing, plot motorcycle racing speeds.
Technology: To visualise statistics for major cities, prices of automobiles etc.
Apart from these Flot is also used in Gaming, Physical Data Monitoring etc.

Usage
1.Basic Usage: To create a simple graph on a given direct data. Simply calling of plot function is required. It also supports lines,points,bars,filled areas or any combination of these. There are a number of options to control the looks of the graph. It can also be used with AJAX to load and plot the real time data.
 
2.Interactivity: Can help to create plots with series on-off options. 
Flot supports selection through selection pluginn.It enables user to select only one axis through rectangular or one-dimensional selection. Such selections are useful for zooming. It also has the feature of showing mouse position. Flot has a  "resize plugin" to re-size the plot according to the available space.

3.Additional Features: -Plots can be marked with various symbols using the "symbol plugin" 

- It has a facility of multiple axis.
-"Threshold Plugin" can be used to apply different colour to data below a certain threshold.
-With "Stack Pluggi" Flot can be used to stack the series.
-"Errorbars plugin" can be used to plot error bars to show standard deviation and other useful statistical properties.
Many other features are also available which make the graphs more attractive.

Thus Flot is an easy, simple at the same time a very attractive tool for plotting line graphs and bar charts.