hs-gchart 0.1 → 0.1.1
raw patch · 5 files changed
+43/−32 lines, 5 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Graphics/GChart.hs +1/−1
- Graphics/GChart/ChartItems.hs +2/−3
- Graphics/GChart/DataEncoding.hs +0/−1
- README.md +10/−9
- hs-gchart.cabal +30/−18
Graphics/GChart.hs view
@@ -4,7 +4,7 @@ Import this module to generate charts using the Google Chart API. For more examples, refer to @Examples.hs@ in the source tarball, or download it-directly from Github : <http://github.com/hs-gchart/>.+directly from Github : <http://github.com/deepakjois/hs-gchart/blob/master/examples/Examples.hs>. For documentation regarding the full data model, refer to "Graphics.GChart.Types".
Graphics/GChart/ChartItems.hs view
@@ -1,8 +1,7 @@ {-# LANGUAGE TypeSynonymInstances, NoMonomorphismRestriction #-}-{-# OPTIONS_HADDOCK hide #-} module Graphics.GChart.ChartItems ( ChartM,- ChartItem, set,+ ChartItem(set), ChartDataEncodable, getChartDataFromChartM, addDataToChart,@@ -22,7 +21,7 @@ -- Monad type ChartM a = State Chart a --- Typeclass abstracting all the fields in a chart+-- | Typeclass abstracting all the fields in a chart class ChartItem c where -- set the field set :: c -> ChartM ()
Graphics/GChart/DataEncoding.hs view
@@ -1,4 +1,3 @@-{-# OPTIONS_HADDOCK hide #-} module Graphics.GChart.DataEncoding where import Graphics.GChart.Types
README.md view
@@ -13,12 +13,20 @@ ## Installation -Coming Soon+ cabal install hs-gchart +## Documentation++* [API functions reference](http://deepak.jois.name/code/hs-gchart/Graphics-GChart.html)++* [Haskell data types reference](http://deepak.jois.name/code/hs-gchart/Graphics-GChart-Types.html), along with pending features and chart types++* [Google Chart API]+ ## Getting Started These examples below are available in `examples/Examples.hs` in the source-tarball. All examples are taking from [this article](http://24ways.org/2007/tracking-christmas-cheer-with-google-charts)+tarball. All examples are taken from [this article](http://24ways.org/2007/tracking-christmas-cheer-with-google-charts) For examples 1 and 2, the following code is common @@ -145,10 +153,3 @@  -## Documentation--* API functions reference--* Haskell data types reference, along with pending features and chart types--* [Google Chart API]
hs-gchart.cabal view
@@ -1,19 +1,31 @@-Cabal-Version: >= 1.2-Name: hs-gchart-Version: 0.1-Synopsis: Haskell wrapper for the Google Chart API-Description: Haskell wrapper for the Google Chart API-Category: Graphics-License: BSD3-License-File: LICENSE-Author: Deepak Jois-Maintainer: deepak.jois@gmail.com-Copyright: (c) 2010 Deepak Jois <deepak.jois@gmail.com>-Homepage: http://github.com/deepakjois/hs-gchart-Build-Type: Simple+name: hs-gchart+version: 0.1.1+synopsis: Haskell wrapper for the Google Chart API+license: BSD3+license-file: LICENSE+author: Deepak Jois+maintainer: deepak.jois@gmail.com+copyright: (c) 2010 Deepak Jois <deepak.jois@gmail.com>+build-type: Simple+cabal-version: >= 1.6+category: Graphics+stability: experimental+homepage: http://github.com/deepakjois/hs-gchart data-files: README.md, examples/Examples.hs-Library- Build-Depends: base >= 3 && < 5, mtl- hs-source-dirs: .- exposed-modules: Graphics.GChart,Graphics.GChart.Types- other-modules: Graphics.GChart.ChartItems, Graphics.GChart.DataEncoding+tested-with: GHC==6.12.1++library+ build-depends: + base >= 4 && < 5+ ,mtl++ exposed-modules: + Graphics.GChart+ ,Graphics.GChart.Types++ other-modules:+ Graphics.GChart.ChartItems+ ,Graphics.GChart.DataEncoding+++