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 Source #

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 Source # |

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 Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Flot Source #

toConstr :: Flot -> Constr Source #

dataTypeOf :: Flot -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Flot) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Flot) Source #

gmapT :: (forall b. Data b => b -> b) -> Flot -> Flot Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Flot -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Flot -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Flot -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Flot -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Flot -> m Flot Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Flot -> m Flot Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Flot -> m Flot Source #

Bounded Flot Source # |
Instance details Defined in Language.Javascript.Flot Methods minBound :: Flot Source # maxBound :: Flot Source #
Enum Flot Source # |
Instance details Defined in Language.Javascript.Flot Methods succ :: Flot -> Flot Source # pred :: Flot -> Flot Source # toEnum :: Int -> Flot Source # fromEnum :: Flot -> Int Source # enumFrom :: Flot -> [Flot] Source # enumFromThen :: Flot -> Flot -> [Flot] Source # enumFromTo :: Flot -> Flot -> [Flot] Source # enumFromThenTo :: Flot -> Flot -> Flot -> [Flot] Source #
Read Flot Source # |
Instance details Defined in Language.Javascript.Flot Methods readsPrec :: Int -> ReadS Flot Source # readList :: ReadS [Flot] Source # readPrec :: ReadPrec Flot Source # readListPrec :: ReadPrec [Flot] Source #
Show Flot Source # |
Instance details Defined in Language.Javascript.Flot Methods showsPrec :: Int -> Flot -> ShowS Source # show :: Flot -> String Source # showList :: [Flot] -> ShowS Source #
Eq Flot Source # |
Instance details Defined in Language.Javascript.Flot Methods (==) :: Flot -> Flot -> Bool Source # (/=) :: Flot -> Flot -> Bool Source #
Ord Flot Source # |
Instance details Defined in Language.Javascript.Flot Methods compare :: Flot -> Flot -> Ordering Source # (<) :: Flot -> Flot -> Bool Source # (<=) :: Flot -> Flot -> Bool Source # (>) :: Flot -> Flot -> Bool Source # (>=) :: Flot -> Flot -> Bool Source # max :: Flot -> Flot -> Flot Source # min :: Flot -> Flot -> Flot Source #

version :: Version Source #

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 Source #

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