Language.Javascript.Flot

js-flot-0.8.3: Obtain minified flot code

Safe Haskell | Safe
Language | Haskell2010

Language.Javascript.Flot

Description

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

Synopsis

- data Flot
  - = Flot
  - | FlotCanvas
  - | FlotCategories
  - | FlotCrosshair
  - | FlotErrorbars
  - | FlotFillbetween
  - | FlotImage
  - | FlotNavigate
  - | FlotPie
  - | FlotResize
  - | FlotSelection
  - | FlotStack
  - | FlotSymbol
  - | FlotThreshold
  - | FlotTime
- version :: Version
- file :: Flot -> IO FilePath

# Documentation

data Flot

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

Constructors

Flot |
FlotCanvas |
FlotCategories |
FlotCrosshair |
FlotErrorbars |
FlotFillbetween |
FlotImage |
FlotNavigate |
FlotPie |
FlotResize |
FlotSelection |
FlotStack |
FlotSymbol |
FlotThreshold |
FlotTime |

Instances

Bounded Flot |
Enum Flot |
Eq Flot |
Data Flot |
Ord Flot |
Read Flot |
Show Flot |

version :: Version

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 FilePath

A local file containing the minified Flot code for `version`.