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

chart-svg

Version 0.6.1.0 revision 0 uploaded by tonyday567.

Package meta

Synopsis
Charting library targetting SVGs.
Description

This package provides a charting library targetting SVG as the rendered output.

Usage

>>> :set -XOverloadedLabels
>>> :set -XOverloadedStrings
>>> import Chart
>>> import Optics.Core
>>> let lines = [[Point 0.0 1.0, Point 1.0 1.0, Point 2.0 5.0],[Point 0.0 0.0, Point 2.8 3.0],[Point 0.5 4.0, Point 0.5 0]]
>>> let styles = (\c -> defaultLineStyle & set #color (palette c) & set #size 0.015) <$> [0..2]
>>> let cs = zipWith (\s x -> LineChart s [x]) styles lines
>>> let lineExample = mempty & set #chartTree (named "line" cs) & set #hudOptions defaultHudOptions :: ChartOptions
>>> writeChartOptions "other/usage.svg" lineExample

usage example

See Chart for concept design notes, and Chart.Examples for practical usage.

Author
Tony Day
Bug reports
https://github.com/tonyday567/chart-svg/issues
Category
graphics
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