Language.Javascript.Flot

js-flot-0.8.3: Obtain minified flot code

Safe Haskell | Safe-Inferred
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

Instances details

Data Flot # |
Instance details Defined in Language.Javascript.Flot Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Flot -> c Flot # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Flot # toConstr :: Flot -> Constr # dataTypeOf :: Flot -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Flot) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Flot) # gmapT :: (forall b. Data b => b -> b) -> Flot -> Flot # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Flot -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Flot -> r # gmapQ :: (forall d. Data d => d -> u) -> Flot -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Flot -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Flot -> m Flot # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Flot -> m Flot # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Flot -> m Flot #
Bounded Flot # |
Instance details Defined in Language.Javascript.Flot Methods minBound :: Flot # maxBound :: Flot #
Enum Flot # |
Instance details Defined in Language.Javascript.Flot Methods succ :: Flot -> Flot # pred :: Flot -> Flot # toEnum :: Int -> Flot # fromEnum :: Flot -> Int # enumFrom :: Flot -> [Flot] # enumFromThen :: Flot -> Flot -> [Flot] # enumFromTo :: Flot -> Flot -> [Flot] # enumFromThenTo :: Flot -> Flot -> Flot -> [Flot] #
Read Flot # |
Instance details Defined in Language.Javascript.Flot Methods readsPrec :: Int -> ReadS Flot # readList :: ReadS [Flot] # readPrec :: ReadPrec Flot # readListPrec :: ReadPrec [Flot] #
Show Flot # |
Instance details Defined in Language.Javascript.Flot Methods showsPrec :: Int -> Flot -> ShowS # show :: Flot -> String # showList :: [Flot] -> ShowS #
Eq Flot # |
Instance details Defined in Language.Javascript.Flot Methods (==) :: Flot -> Flot -> Bool # (/=) :: Flot -> Flot -> Bool #
Ord Flot # |
Instance details Defined in Language.Javascript.Flot Methods compare :: Flot -> Flot -> Ordering # (<) :: Flot -> Flot -> Bool # (<=) :: Flot -> Flot -> Bool # (>) :: Flot -> Flot -> Bool # (>=) :: Flot -> Flot -> Bool # max :: Flot -> Flot -> Flot # min :: Flot -> Flot -> 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`.