aivika-experiment-chart-2.1: Simulation experiments with charting for the Aivika library

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellNone

Simulation.Aivika.Experiment.Chart.Types

Description

Tested with: GHC 7.8.3

The module defines a type class for rendering charts.

Synopsis

Documentation

class WebPageRendering r => WebPageCharting r whereSource

A type class of chart renderers.

Methods

renderableChartExtension :: r -> StringSource

The file extension used when rendering.

renderChart :: r -> (Int, Int) -> FilePath -> Renderable c -> IO (PickFn c)Source

Generate an image file with the specified path for the given chart. The width and height are passed in the second argument to the function.