The latest version of chart-svg is 0.8.0.0-0.
chart-svg
Version 0.2.0 revision 1 uploaded by tonyday567.
Package meta
- Synopsis
- Charting library targetting SVGs.
- Description
This package provides a charting library targetting SVG as the rendered output.
Usage
>>> import Chart
>>>
>>> let xs = [[(0.0, 1.0), (1.0, 1.0), (2.0, 5.0)], [(0.0, 0.0), (3.0, 3.0)], [(0.5, 4.0), (0.5, 0)]] :: [[(Double, Double)]]
>>> let ls = fmap (PointXY . uncurry Point) <$> xs
>>> let anns = zipWith (\w c -> LineA (LineStyle w c Nothing Nothing Nothing Nothing)) [0.015, 0.03, 0.01] palette1
>>> let lineChart = zipWith Chart anns ls
>>> writeChartSvgHud "other/lineshud.svg" lineChart
See Chart for a broad overview of concepts, and Chart.Examples for a variety of practical examples.
- Author
- Tony Day
- Bug reports
- https://github.com/tonyday567/chart-svg/issues
- Category
- charts
- Copyright
- Tony Day (c) 2017
- Homepage
- https://github.com/tonyday567/chart-svg#readme
- Maintainer
- tonyday567@gmail.com
- Package URL
- n/a
- Stability
- n/a