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

Simulation.Aivika.Experiment.Chart.TimeSeriesView

Description

Tested with: GHC 8.0.1

The module defines TimeSeriesView that plots the time series charts.

Documentation

Defines the View that plots the time series charts.

Constructors

 TimeSeriesView FieldstimeSeriesTitle :: StringThis is a title used in HTML.timeSeriesDescription :: StringThis is a description used in HTML.timeSeriesWidth :: IntThe width of the chart.timeSeriesHeight :: IntThe height of the chart.timeSeriesGridSize :: Maybe IntThe size of the grid, where the series data are processed.timeSeriesFileName :: ExperimentFilePathIt defines the file name with optional extension for each image to be saved. It may include special variables $TITLE, $RUN_INDEX and $RUN_COUNT.An example is timeSeriesFileName = UniqueFilePath "$TITLE - $RUN_INDEX" timeSeriesPredicate :: Event BoolIt specifies the predicate that defines when we plot data in the chart.timeSeriesTransform :: ResultTransformThe transform applied to the results before receiving series.timeSeriesLeftYSeries :: ResultTransformIt defines the series plotted basing on the left Y axis.timeSeriesRightYSeries :: ResultTransformIt defines the series plotted basing on the right Y axis.timeSeriesPlotTitle :: StringThis is a title used in the chart when simulating a single run. It may include special variable $TITLE.An example is timeSeriesPlotTitle = "$TITLE" timeSeriesRunPlotTitle :: StringThe run title for the chart. It is used when simulating multiple runs and it may include special variables $RUN_INDEX, $RUN_COUNT and $PLOT_TITLE.An example is  timeSeriesRunPlotTitle = "$PLOT_TITLE / Run$RUN_INDEX of \$RUN_COUNT" timeSeriesPlotLines :: [PlotLines Double Double -> PlotLines Double Double]Probably, an infinite sequence of plot transformations based on which the plot is constructed for each series. Generally, it must not coincide with a sequence of labels as one label may denote a whole list or an array of data providers.Here you can define a colour or style of the plot lines.timeSeriesBottomAxis :: LayoutAxis Double -> LayoutAxis DoubleA transformation of the bottom axis, after title time is added.timeSeriesLayout :: LayoutLR Double Double Double -> LayoutLR Double Double DoubleA transformation of the plot layout, where you can redefine the axes, for example.

Instances

 Source # Methods Source # Methods

The default time series view.