packages feed

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 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 @@  ![Line Graph](http://chart.apis.google.com/chart?cht=lxy&chs=800x300&chd=t:0,16.7,23.3,33.3,60,76.7,83.3,86.7,93.3,96.7,100|30,45,20,50,15,80,60,70,40,55,80|0,10,16.7,26.7,33.3|50,10,30,55,60&chtt=Projected+Christmas+Cheer+for+2007&chco=458B00,CD2626&chdl=2006|2007&chdlp=r&chxt=y,x&chxl=1:|Dec+1st|||||6th|||||||||||||||||||25th|26th|||||Dec+31st&chxr=0,0.0,100.0,50.0&chg=3.333,10.0,1.0,3.0) -## 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+++