js-flot-0.8.3: Obtain minified flot code

Safe HaskellSafe
LanguageHaskell2010

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

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.

Instances
Bounded Flot # 
Instance details

Defined in Language.Javascript.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] #

Eq Flot # 
Instance details

Defined in Language.Javascript.Flot

Methods

(==) :: Flot -> Flot -> Bool #

(/=) :: Flot -> Flot -> Bool #

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 :: (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 #

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 #

Read Flot # 
Instance details

Defined in Language.Javascript.Flot

Show Flot # 
Instance details

Defined in Language.Javascript.Flot

Methods

showsPrec :: Int -> Flot -> ShowS #

show :: Flot -> String #

showList :: [Flot] -> ShowS #

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.