The latest version of chart-svg is 0.8.0.0-0.

chart-svg

Version 0.2.3 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
>>> :set -XOverloadedLabels
>>> let xs = fmap (fmap (uncurry Point)) [[(0.0, 1.0), (1.0, 1.0), (2.0, 5.0)], [(0.0, 0.0), (3.2, 3.0)], [(0.5, 4.0), (0.5, 0)]] :: [[Point Double]]
>>> let anns = zipWith (\w c -> LineA (LineStyle w c Nothing Nothing Nothing Nothing)) [0.015, 0.03, 0.01] palette1_
>>> let lineExample = mempty & (#chartList .~ zipWith Chart anns (fmap (fmap PointXY) xs)) & #hudOptions .~ defaultHudOptions & #svgOptions .~ defaultSvgOptions :: ChartSvg
writeChartSvg "other/line.svg" lineExample

main example

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

Components