Package maintainers and Hackage trustees are allowed to edit certain bits
of package metadata after a release, without uploading a new tarball.
Note that the tarball itself is never changed, just the metadata that is
stored separately. For more information about metadata revisions, please
refer to the
Hackage Metadata Revisions FAQ.
No. |
Time |
User |
SHA256 |
-r2 (chart-svg-0.2.1-r2) |
2021-02-06T23:34:40Z |
tonyday567 |
e5bd8174a2622cbe0416654b03af25a8ed84bc2814d809bbfe4a7c8cf84325f9
|
|
Changed description
from This package provides a charting library targetting SVG as the rendered output.
== Usage
>>> import Chart
>>> import NumHask.Prelude
>>> import Control.Lens
>>> :set -XOverloadedLabels
>>> :set -XNoImplicitPrelude
>>>
>>> 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/lines.svg" lineExample
![main example](docs/other/lines.svg)
See "Chart" for a broad overview of concepts, and "Chart.Examples" for a variety of practical examples.
to This package provides a charting library targetting SVG as the rendered output.
== Usage
>>> import Chart
>>> import NumHask.Prelude
>>> import Control.Lens
>>> :set -XOverloadedLabels
>>> :set -XNoImplicitPrelude
>>>
>>> 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](docs/other/line.svg)
See "Chart" for a broad overview of concepts, and "Chart.Examples" for a variety of practical examples.
|
-r1 (chart-svg-0.2.1-r1) |
2021-02-06T23:32:35Z |
tonyday567 |
9ca3135f650c7bda430aa37844d0b7991bcd563690fd68a60a949ce74195a009
|
|
Changed description
from 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
![main example](docs/other/lineshud.svg)
See "Chart" for a broad overview of concepts, and "Chart.Examples" for a variety of practical examples.
to This package provides a charting library targetting SVG as the rendered output.
== Usage
>>> import Chart
>>> import NumHask.Prelude
>>> import Control.Lens
>>> :set -XOverloadedLabels
>>> :set -XNoImplicitPrelude
>>>
>>> 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/lines.svg" lineExample
![main example](docs/other/lines.svg)
See "Chart" for a broad overview of concepts, and "Chart.Examples" for a variety of practical examples.
|
-r0 (chart-svg-0.2.1-r0) |
2021-02-06T09:33:04Z |
tonyday567 |
79fe274bceb72ba82d2f1d3f7a5c42621802235d2143db141c6f24384d9947fe
|
|
|