hs-gchart 0.4.1 → 0.4.2
raw patch · 9 files changed
+34/−33 lines, 9 filesnew-uploaderPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Graphics.GChart.Types: axisColor :: AxisStyle -> Color
- Graphics.GChart.Types: axisDrawingControl :: AxisStyle -> Maybe DrawingControl
- Graphics.GChart.Types: axisFontSize :: AxisStyle -> Maybe FontSize
- Graphics.GChart.Types: axisLabels :: Axis -> Maybe [AxisLabel]
- Graphics.GChart.Types: axisPositions :: Axis -> Maybe [AxisPosition]
- Graphics.GChart.Types: axisRange :: Axis -> Maybe AxisRange
- Graphics.GChart.Types: axisStyle :: Axis -> Maybe AxisStyle
- Graphics.GChart.Types: axisStyleAlign :: AxisStyle -> Maybe AxisStyleAlignment
- Graphics.GChart.Types: axisType :: Axis -> AxisType
- Graphics.GChart.Types: barChartWidthSpacing :: Chart -> Maybe BarChartWidthSpacing
- Graphics.GChart.Types: blankSegmentLength :: ChartGrid -> Maybe Float
- Graphics.GChart.Types: bottomMargin :: ChartMargins -> Int
- Graphics.GChart.Types: chartAxes :: Chart -> Maybe ChartAxes
- Graphics.GChart.Types: chartColors :: Chart -> Maybe ChartColors
- Graphics.GChart.Types: chartData :: Chart -> Maybe ChartData
- Graphics.GChart.Types: chartDataScales :: Chart -> Maybe ChartDataScales
- Graphics.GChart.Types: chartFills :: Chart -> Maybe ChartFills
- Graphics.GChart.Types: chartGrid :: Chart -> Maybe ChartGrid
- Graphics.GChart.Types: chartLabelData :: Chart -> Maybe ChartLabelData
- Graphics.GChart.Types: chartLabels :: Chart -> Maybe ChartLabels
- Graphics.GChart.Types: chartLegend :: Chart -> Maybe ChartLegend
- Graphics.GChart.Types: chartLineStyles :: Chart -> Maybe ChartLineStyles
- Graphics.GChart.Types: chartMargins :: Chart -> Maybe ChartMargins
- Graphics.GChart.Types: chartMarkers :: Chart -> Maybe ChartMarkers
- Graphics.GChart.Types: chartSize :: Chart -> Maybe ChartSize
- Graphics.GChart.Types: chartTitle :: Chart -> Maybe ChartTitle
- Graphics.GChart.Types: chartType :: Chart -> ChartType
- Graphics.GChart.Types: financeColor :: FinancialMarker -> Color
- Graphics.GChart.Types: financeDataPoint :: FinancialMarker -> MarkerDataPoint
- Graphics.GChart.Types: financeDataSetIdx :: FinancialMarker -> Int
- Graphics.GChart.Types: financePriority :: FinancialMarker -> Int
- Graphics.GChart.Types: financeSize :: FinancialMarker -> Int
- Graphics.GChart.Types: instance ChartMarker AnyChartMarker
- Graphics.GChart.Types: instance Eq AxisRange
- Graphics.GChart.Types: instance Eq AxisStyle
- Graphics.GChart.Types: instance Eq AxisStyleAlignment
- Graphics.GChart.Types: instance Eq DrawingControl
- Graphics.GChart.Types: instance Show AnyChartMarker
- Graphics.GChart.Types: instance Show Axis
- Graphics.GChart.Types: instance Show AxisRange
- Graphics.GChart.Types: instance Show AxisStyle
- Graphics.GChart.Types: instance Show AxisStyleAlignment
- Graphics.GChart.Types: instance Show AxisType
- Graphics.GChart.Types: instance Show BarGroupSpacing
- Graphics.GChart.Types: instance Show BarWidth
- Graphics.GChart.Types: instance Show Chart
- Graphics.GChart.Types: instance Show ChartColors
- Graphics.GChart.Types: instance Show ChartData
- Graphics.GChart.Types: instance Show ChartDataScales
- Graphics.GChart.Types: instance Show ChartGrid
- Graphics.GChart.Types: instance Show ChartLabelData
- Graphics.GChart.Types: instance Show ChartLabels
- Graphics.GChart.Types: instance Show ChartLegend
- Graphics.GChart.Types: instance Show ChartMargins
- Graphics.GChart.Types: instance Show ChartSize
- Graphics.GChart.Types: instance Show ChartTitle
- Graphics.GChart.Types: instance Show ChartType
- Graphics.GChart.Types: instance Show DrawingControl
- Graphics.GChart.Types: instance Show ErrorCorrectionLevel
- Graphics.GChart.Types: instance Show Fill
- Graphics.GChart.Types: instance Show FillKind
- Graphics.GChart.Types: instance Show FillType
- Graphics.GChart.Types: instance Show FinancialMarker
- Graphics.GChart.Types: instance Show LegendPosition
- Graphics.GChart.Types: instance Show LineFillMarker
- Graphics.GChart.Types: instance Show LineFillType
- Graphics.GChart.Types: instance Show LineMarker
- Graphics.GChart.Types: instance Show LineStyle
- Graphics.GChart.Types: instance Show LineWhichPoints
- Graphics.GChart.Types: instance Show MarkerDataPoint
- Graphics.GChart.Types: instance Show PieChartOrientation
- Graphics.GChart.Types: instance Show QREncoding
- Graphics.GChart.Types: instance Show RangeMarker
- Graphics.GChart.Types: instance Show RangeMarkerType
- Graphics.GChart.Types: instance Show ShapeMarker
- Graphics.GChart.Types: instance Show ShapeType
- Graphics.GChart.Types: leftMargin :: ChartMargins -> Int
- Graphics.GChart.Types: legendMargins :: ChartMargins -> Maybe (Int, Int)
- Graphics.GChart.Types: lineColor :: LineMarker -> Color
- Graphics.GChart.Types: lineDataSetIdx :: LineMarker -> Int
- Graphics.GChart.Types: lineSegmentLength :: ChartGrid -> Maybe Float
- Graphics.GChart.Types: lineSize :: LineMarker -> Int
- Graphics.GChart.Types: lineStyleBlankSegment :: LineStyle -> Float
- Graphics.GChart.Types: lineStyleLineSegment :: LineStyle -> Float
- Graphics.GChart.Types: lineStyleThickness :: LineStyle -> Float
- Graphics.GChart.Types: lineWhichPoints :: LineMarker -> LineWhichPoints
- Graphics.GChart.Types: lineZorder :: LineMarker -> Float
- Graphics.GChart.Types: pieChartOrientation :: Chart -> Maybe PieChartOrientation
- Graphics.GChart.Types: qrEncoding :: Chart -> Maybe QREncoding
- Graphics.GChart.Types: rangeMarkerColor :: RangeMarker -> Color
- Graphics.GChart.Types: rangeMarkerRange :: RangeMarker -> (Float, Float)
- Graphics.GChart.Types: rangeMarkerType :: RangeMarker -> RangeMarkerType
- Graphics.GChart.Types: rightMargin :: ChartMargins -> Int
- Graphics.GChart.Types: shapeColor :: ShapeMarker -> Color
- Graphics.GChart.Types: shapeDataPoints :: ShapeMarker -> MarkerDataPoint
- Graphics.GChart.Types: shapeDataSetIdx :: ShapeMarker -> Int
- Graphics.GChart.Types: shapeSize :: ShapeMarker -> Int
- Graphics.GChart.Types: shapeType :: ShapeMarker -> ShapeType
- Graphics.GChart.Types: shapeWidth :: ShapeMarker -> Maybe Int
- Graphics.GChart.Types: shapeZorder :: ShapeMarker -> Float
- Graphics.GChart.Types: tickMarkColor :: AxisStyle -> Maybe Color
- Graphics.GChart.Types: titleColor :: ChartTitle -> Maybe Color
- Graphics.GChart.Types: titleFontSize :: ChartTitle -> Maybe FontSize
- Graphics.GChart.Types: titleStr :: ChartTitle -> String
- Graphics.GChart.Types: topMargin :: ChartMargins -> Int
- Graphics.GChart.Types: xAxisStep :: ChartGrid -> Float
- Graphics.GChart.Types: xOffset :: ChartGrid -> Maybe Float
- Graphics.GChart.Types: yAxisStep :: ChartGrid -> Float
- Graphics.GChart.Types: yOffset :: ChartGrid -> Maybe Float
+ Graphics.GChart.Types: [axisColor] :: AxisStyle -> Color
+ Graphics.GChart.Types: [axisDrawingControl] :: AxisStyle -> Maybe DrawingControl
+ Graphics.GChart.Types: [axisFontSize] :: AxisStyle -> Maybe FontSize
+ Graphics.GChart.Types: [axisLabels] :: Axis -> Maybe [AxisLabel]
+ Graphics.GChart.Types: [axisPositions] :: Axis -> Maybe [AxisPosition]
+ Graphics.GChart.Types: [axisRange] :: Axis -> Maybe AxisRange
+ Graphics.GChart.Types: [axisStyleAlign] :: AxisStyle -> Maybe AxisStyleAlignment
+ Graphics.GChart.Types: [axisStyle] :: Axis -> Maybe AxisStyle
+ Graphics.GChart.Types: [axisType] :: Axis -> AxisType
+ Graphics.GChart.Types: [barChartWidthSpacing] :: Chart -> Maybe BarChartWidthSpacing
+ Graphics.GChart.Types: [blankSegmentLength] :: ChartGrid -> Maybe Float
+ Graphics.GChart.Types: [bottomMargin] :: ChartMargins -> Int
+ Graphics.GChart.Types: [chartAxes] :: Chart -> Maybe ChartAxes
+ Graphics.GChart.Types: [chartColors] :: Chart -> Maybe ChartColors
+ Graphics.GChart.Types: [chartDataScales] :: Chart -> Maybe ChartDataScales
+ Graphics.GChart.Types: [chartData] :: Chart -> Maybe ChartData
+ Graphics.GChart.Types: [chartFills] :: Chart -> Maybe ChartFills
+ Graphics.GChart.Types: [chartGrid] :: Chart -> Maybe ChartGrid
+ Graphics.GChart.Types: [chartLabelData] :: Chart -> Maybe ChartLabelData
+ Graphics.GChart.Types: [chartLabels] :: Chart -> Maybe ChartLabels
+ Graphics.GChart.Types: [chartLegend] :: Chart -> Maybe ChartLegend
+ Graphics.GChart.Types: [chartLineStyles] :: Chart -> Maybe ChartLineStyles
+ Graphics.GChart.Types: [chartMargins] :: Chart -> Maybe ChartMargins
+ Graphics.GChart.Types: [chartMarkers] :: Chart -> Maybe ChartMarkers
+ Graphics.GChart.Types: [chartSize] :: Chart -> Maybe ChartSize
+ Graphics.GChart.Types: [chartTitle] :: Chart -> Maybe ChartTitle
+ Graphics.GChart.Types: [chartType] :: Chart -> ChartType
+ Graphics.GChart.Types: [financeColor] :: FinancialMarker -> Color
+ Graphics.GChart.Types: [financeDataPoint] :: FinancialMarker -> MarkerDataPoint
+ Graphics.GChart.Types: [financeDataSetIdx] :: FinancialMarker -> Int
+ Graphics.GChart.Types: [financePriority] :: FinancialMarker -> Int
+ Graphics.GChart.Types: [financeSize] :: FinancialMarker -> Int
+ Graphics.GChart.Types: [leftMargin] :: ChartMargins -> Int
+ Graphics.GChart.Types: [legendMargins] :: ChartMargins -> Maybe (Int, Int)
+ Graphics.GChart.Types: [lineColor] :: LineMarker -> Color
+ Graphics.GChart.Types: [lineDataSetIdx] :: LineMarker -> Int
+ Graphics.GChart.Types: [lineSegmentLength] :: ChartGrid -> Maybe Float
+ Graphics.GChart.Types: [lineSize] :: LineMarker -> Int
+ Graphics.GChart.Types: [lineStyleBlankSegment] :: LineStyle -> Float
+ Graphics.GChart.Types: [lineStyleLineSegment] :: LineStyle -> Float
+ Graphics.GChart.Types: [lineStyleThickness] :: LineStyle -> Float
+ Graphics.GChart.Types: [lineWhichPoints] :: LineMarker -> LineWhichPoints
+ Graphics.GChart.Types: [lineZorder] :: LineMarker -> Float
+ Graphics.GChart.Types: [pieChartOrientation] :: Chart -> Maybe PieChartOrientation
+ Graphics.GChart.Types: [qrEncoding] :: Chart -> Maybe QREncoding
+ Graphics.GChart.Types: [rangeMarkerColor] :: RangeMarker -> Color
+ Graphics.GChart.Types: [rangeMarkerRange] :: RangeMarker -> (Float, Float)
+ Graphics.GChart.Types: [rangeMarkerType] :: RangeMarker -> RangeMarkerType
+ Graphics.GChart.Types: [rightMargin] :: ChartMargins -> Int
+ Graphics.GChart.Types: [shapeColor] :: ShapeMarker -> Color
+ Graphics.GChart.Types: [shapeDataPoints] :: ShapeMarker -> MarkerDataPoint
+ Graphics.GChart.Types: [shapeDataSetIdx] :: ShapeMarker -> Int
+ Graphics.GChart.Types: [shapeSize] :: ShapeMarker -> Int
+ Graphics.GChart.Types: [shapeType] :: ShapeMarker -> ShapeType
+ Graphics.GChart.Types: [shapeWidth] :: ShapeMarker -> Maybe Int
+ Graphics.GChart.Types: [shapeZorder] :: ShapeMarker -> Float
+ Graphics.GChart.Types: [tickMarkColor] :: AxisStyle -> Maybe Color
+ Graphics.GChart.Types: [titleColor] :: ChartTitle -> Maybe Color
+ Graphics.GChart.Types: [titleFontSize] :: ChartTitle -> Maybe FontSize
+ Graphics.GChart.Types: [titleStr] :: ChartTitle -> String
+ Graphics.GChart.Types: [topMargin] :: ChartMargins -> Int
+ Graphics.GChart.Types: [xAxisStep] :: ChartGrid -> Float
+ Graphics.GChart.Types: [xOffset] :: ChartGrid -> Maybe Float
+ Graphics.GChart.Types: [yAxisStep] :: ChartGrid -> Float
+ Graphics.GChart.Types: [yOffset] :: ChartGrid -> Maybe Float
+ Graphics.GChart.Types: instance GHC.Classes.Eq Graphics.GChart.Types.AxisRange
+ Graphics.GChart.Types: instance GHC.Classes.Eq Graphics.GChart.Types.AxisStyle
+ Graphics.GChart.Types: instance GHC.Classes.Eq Graphics.GChart.Types.AxisStyleAlignment
+ Graphics.GChart.Types: instance GHC.Classes.Eq Graphics.GChart.Types.DrawingControl
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.AnyChartMarker
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.Axis
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.AxisRange
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.AxisStyle
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.AxisStyleAlignment
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.AxisType
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.BarGroupSpacing
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.BarWidth
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.Chart
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartColors
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartData
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartDataScales
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartGrid
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartLabelData
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartLabels
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartLegend
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartMargins
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartSize
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartTitle
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ChartType
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.DrawingControl
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ErrorCorrectionLevel
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.Fill
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.FillKind
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.FillType
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.FinancialMarker
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.LegendPosition
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.LineFillMarker
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.LineFillType
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.LineMarker
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.LineStyle
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.LineWhichPoints
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.MarkerDataPoint
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.PieChartOrientation
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.QREncoding
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.RangeMarker
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.RangeMarkerType
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ShapeMarker
+ Graphics.GChart.Types: instance GHC.Show.Show Graphics.GChart.Types.ShapeType
+ Graphics.GChart.Types: instance Graphics.GChart.Types.ChartMarker Graphics.GChart.Types.AnyChartMarker
- Graphics.GChart.Types: Legend :: [String] -> (Maybe LegendPosition) -> ChartLegend
+ Graphics.GChart.Types: Legend :: [String] -> Maybe LegendPosition -> ChartLegend
- Graphics.GChart.Types: Range :: (Float, Float) -> (Maybe Float) -> AxisRange
+ Graphics.GChart.Types: Range :: (Float, Float) -> Maybe Float -> AxisRange
- Graphics.GChart.Types: class Show a => ChartMarker a where encodeChartMarker a = ""
+ Graphics.GChart.Types: class Show a => ChartMarker a
Files
- CHANGELOG.md +3/−0
- Graphics/GChart.hs +0/−1
- Graphics/GChart/ChartItems.hs +1/−1
- Graphics/GChart/ChartItems/Colors.hs +0/−2
- Graphics/GChart/Types.hs +0/−1
- LICENSE +1/−1
- README.md +16/−14
- examples/Examples.hs +0/−1
- hs-gchart.cabal +13/−12
+ CHANGELOG.md view
@@ -0,0 +1,3 @@+## 0.4.2++* Brought up-to-date with recent GHCs
Graphics/GChart.hs view
@@ -379,4 +379,3 @@ convertToUrl chart = baseURL ++ intercalate "&" urlparams where baseURL = "http://chart.apis.google.com/chart?" urlparams = [urlEnc a ++ "=" ++ urlEnc b | (a,b) <- getParams chart]-
Graphics/GChart/ChartItems.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE NoMonomorphismRestriction #-}+{-# LANGUAGE FlexibleContexts #-} module Graphics.GChart.ChartItems ( getChartDataFromChartM, addDataToChart,@@ -103,4 +104,3 @@ encodeMaybe $ chartLineStyles chart, encodeMaybe $ qrEncoding chart, encodeMaybe $ chartLabelData chart]-
Graphics/GChart/ChartItems/Colors.hs view
@@ -37,5 +37,3 @@ Background -> "bg" Area -> "c" Transparent -> "a"--
Graphics/GChart/Types.hs view
@@ -617,4 +617,3 @@ -- | Default chart label data for QR Encoding defaultQREncodingLabelData = QRLabelData L' 4-
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2010 Deepak Jois <deepak.jois@gmail.com>+Copyright (c) 2010-2020 Deepak Jois <deepak.jois@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without
README.md view
@@ -1,3 +1,5 @@+[](https://hackage.haskell.org/package/hs-gchart)[](https://travis-ci.org/tomjaguarpaw/hs-gchart)+ ## Introduction **GChart** is a Haskell wrapper around [Google Chart API].@@ -105,10 +107,10 @@ addAxis $ makeAxis { axisType = AxisBottom, axisLabels = Just $ ["Dec 1st"] ++ blanks 4 ++ ["6th"] ++ blanks 18 ++ ["25th","26th"] ++ blanks 4 ++ ["Dec 31st"] } addChartDataXY dataSeries2- + dataSeries2 :: [(Float,Float)] dataSeries2 = [(0,0),(100,100)]- + blanks x = take x $ repeat "" Generates the following chart@@ -119,33 +121,33 @@ The code below - linexyGraph2 = + linexyGraph2 = getChartUrl $ do setChartSize 800 300 setChartType LineXY setDataEncoding text setChartTitle "Projected Christmas Cheer for 2007"- + setGrid $ makeGrid { xAxisStep = 3.333, yAxisStep = 10, lineSegmentLength = Just 1, blankSegmentLength = Just 3 }- + addAxis $ makeAxis { axisType = AxisLeft, axisRange = Just $ Range (0,100) (Just 50) } addAxis $ makeAxis { axisType = AxisBottom, axisLabels = Just $ ["Dec 1st"] ++ blanks 4 ++ ["6th"] ++ blanks 18 ++ ["25th","26th"] ++ blanks 4 ++ ["Dec 31st"] }- + addChartDataXY dataSeries3 addColor "458B00"- + addChartDataXY dataSeries4 addColor "CD2626"- + setLegend $ legendWithPosition ["2006","2007"] LegendRight- + dataSeries3 :: [(Float,Float)] dataSeries3 = zip [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]- + dataSeries4 :: [(Float,Float)] dataSeries4 = zip [0,10,16.7,26.7,33.3] [50,10,30,55,60] @@ -157,7 +159,7 @@ ### Example 5 : Scatter Plot with Shape Markers -The code below +The code below scatterPlotWithMarkers = getChartUrl $ do setChartSize 200 125 setChartType ScatterPlot@@ -168,17 +170,17 @@ addAxis $ makeAxis { axisType = AxisLeft, axisLabels = Just $ blanks 1 ++ ["50","100"] } setGrid $ makeGrid { xAxisStep = 20, yAxisStep = 25 }- + addShapeMarker $ makeShapeMarker { shapeType = ShapeSquare , shapeColor = "ff0000" , shapeSize = 10 }- + -- Reverse engineering sample data from webpage dataSeries5 :: [(Int,Int)] dataSeries5 = zip xseries yseries where xseries = map encSimpleReverse "984sttvuvkQIBLKNCAIipr3z9" yseries = map encSimpleReverse "DEJPgq0uov17_zwopQOD"- + encSimpleReverse :: Char -> Int encSimpleReverse c | ord c >= ord 'A' && ord c <= ord 'Z' = (ord c - ord 'A') | ord c >= ord 'a' && ord c <= ord 'z' = 26 + (ord c - ord 'a')
examples/Examples.hs view
@@ -217,4 +217,3 @@ putStrLn lineChartWithLineStyles putStrLn formulaChart putStrLn qrCodeChart-
hs-gchart.cabal view
@@ -1,35 +1,39 @@ name: hs-gchart-version: 0.4.1+version: 0.4.2 synopsis: Haskell wrapper for the Google Chart API description: This module is a wrapper around the Google Chart API. It exposes a rich set of Haskell data types to specify your chart data, which can then be converted into a URL that generates the PNG image of the chart. + This package is very old and not really supported. license: BSD3 license-file: LICENSE author: Deepak Jois-maintainer: deepak.jois@gmail.com-copyright: (c) 2010 Deepak Jois <deepak.jois@gmail.com>+maintainer: Tom Ellis+copyright: (c) 2010-2020 Deepak Jois <deepak.jois@gmail.com> build-type: Simple-cabal-version: >= 1.6+cabal-version: >= 1.18 category: Graphics-stability: experimental homepage: http://github.com/deepakjois/hs-gchart data-files: README.md extra-source-files: examples/Examples.hs-tested-with: GHC==6.12.1+extra-doc-files: README.md CHANGELOG.md+tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2+bug-reports: https://github.com/tomjaguarpaw/hs-gchart/issues source-repository head type: git- location: git://github.com/deepakjois/hs-gchart.git+ location: https://github.com/tomjaguarpaw/hs-gchart.git library- build-depends: + default-language: Haskell2010++ build-depends: base >= 4 && < 5 ,mtl - exposed-modules: + exposed-modules: Graphics.GChart ,Graphics.GChart.Types @@ -42,6 +46,3 @@ ,Graphics.GChart.ChartItems.Styles ,Graphics.GChart.ChartItems.Util ,Graphics.GChart.DataEncoding---