-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Obtain minified chart.js code
--   
--   This package bundles the minified <a>chart.js</a> code into a Haskell
--   package, so it can be depended upon by Cabal packages. The first three
--   components of the version number match the upstream chart.js version.
--   The package is designed to meet the redistribution requirements of
--   downstream users (e.g. Debian). This package is a fork of
--   <a>js-flot</a> using chart.js instead of flot.
@package js-chart
@version 2.9.4.1


-- | Module for accessing minified chart code
--   (<a>http://www.chartjs.org/</a>). As an example:
--   
--   <pre>
--   import qualified Language.Javascript.Chart as Chart
--   
--   main = do
--       putStrLn $ "Chart version " ++ show Chart.version ++ " source:"
--       putStrLn =&lt;&lt; readFile =&lt;&lt; Chart.file Chart.Chart
--   </pre>
--   
--   This package installs data files containing the <tt>chart.js</tt>
--   sources, which must be available at runtime. If you want to produce an
--   executable with no dependency on associated data files, you can use
--   the <tt>file-embed</tt> library
--   (<a>https://hackage.haskell.org/package/file-embed</a>):
--   
--   <pre>
--   {-# LANGUAGE TemplateHaskell #-}
--   
--   import Data.FileEmbed
--   import qualified Data.ByteString as BS
--   import qualified Language.Javascript.Chart as Chart
--   import Language.Haskell.TH.Syntax
--   
--   main = print chartContents
--   
--   chartContents :: BS.ByteString
--   chartContents = $(embedFile =&lt;&lt; runIO (Chart.file Chart.Chart))
--   </pre>
module Language.Javascript.Chart

-- | The Chart code to obtain.
data Chart

-- | The base <tt>chart.js</tt> system.
Chart :: Chart

-- | The base system, plus a compliant version of the <a>moment.js</a> time
--   and date library.
ChartBundle :: Chart

-- | <tt>chart.js</tt> CSS, usually unnecessary. See <a>here</a>.
ChartCSS :: Chart

-- | The version of Chart provided by this package. Not necessarily the
--   version of this package, but the versions will match in the first
--   three digits.
version :: Version

-- | A local file containing the minified chart.js code for <a>version</a>.
file :: Chart -> IO FilePath
instance GHC.Internal.Enum.Bounded Language.Javascript.Chart.Chart
instance GHC.Internal.Data.Data.Data Language.Javascript.Chart.Chart
instance GHC.Internal.Enum.Enum Language.Javascript.Chart.Chart
instance GHC.Classes.Eq Language.Javascript.Chart.Chart
instance GHC.Classes.Ord Language.Javascript.Chart.Chart
instance GHC.Internal.Read.Read Language.Javascript.Chart.Chart
instance GHC.Internal.Show.Show Language.Javascript.Chart.Chart
