js-flot-0.8.3: Obtain minified flot code

Safe HaskellSafe-Inferred



Module for accessing minified flot code (http://www.flotcharts.org/). As an example:

 import qualified Language.Javascript.Flot as Flot

 main = do
     putStrLn $ "Flot version " ++ show Flot.version ++ " source:"
     putStrLn =<< readFile =<< Flot.file Flot.Flot



data Flot Source

The Flot code to obtain. Use Flot for the base system and the other values for the various addins shipped with Flot.

version :: VersionSource

The version of Flot provided by this package. Not necessarily the version of this package, but the versions will match in the first three digits.

file :: Flot -> IO FilePathSource

A local file containing the minified Flot code for version.