/Flotr2JFExamplesWeb

This is a web project to illustrate how to use Flotr2 together with Flotr2JF to create graphs.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

About

This is a web project to illustrate how to use Flotr2 together with Flotr2JF to create graphs.

Check out the running version here: http://flotr2jfexamplesweb.appspot.com/

Building

Dependencies:

Flotr2JF

Maven 2+

Setup workspace:

git clone git://github.com/dunse/Flotr2JF.git
git clone git://github.com/dunse/Flotr2JFExamplesWeb.git

Build Flotr2JFExamplesWeb

cd Flotr2JF
mvn install
cd ..
cd Flotr2JFExamplesWeb
mvn package

This will create the compiled .war file under target directory which can be deployed to an application server of choice.

To use the application, access it through: http://localhost:PORT/Flotr2JFExamplesWeb/index.html

Screenshots

Example 1 - Simple Line Graph

Example 2 - Two Y Axis, Two lines

Example 3 - Different Graph Types

Example 4 - Realtime graph using AJAX (update every 3sec)

Example 5 - Colour gradient with y axis label

Example 6 - Tooltip