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

Simulation.Aivika.Experiment.Chart.FinalXYChartView

Description

Tested with: GHC 8.0.1

The module defines FinalXYChartView that plots a single XY chart in final time points for different simulation runs sequentially by the run index.

# Documentation

Defines the View that plots the XY chart in final time points for different simulation runs sequentially by the run index.

Constructors

 FinalXYChartView FieldsfinalXYChartTitle :: StringThis is a title used HTML.finalXYChartDescription :: StringThis is a description used in HTML.finalXYChartWidth :: IntThe width of the chart.finalXYChartHeight :: IntThe height of the chart.finalXYChartFileName :: ExperimentFilePathIt defines the file name with optional extension for each image to be saved. It may include special variable $TITLE.An example is finalXYChartFileName = UniqueFilePath "$TITLE" finalXYChartPredicate :: Event BoolIt specifies the predicate that defines when we count data when plotting the chart.finalXYChartTransform :: ResultTransformThe transform applied to the results before receiving series.finalXYChartXSeries :: ResultTransformThis is the X series.You must define it, because it is mempty by default. Also it must return exactly one ResultExtract item when calling function extractDoubleResults by the specified result set.finalXYChartLeftYSeries :: ResultTransformIt defines the series to be plotted basing on the left Y axis.finalXYChartRightYSeries :: ResultTransformIt defines the series to be plotted basing on the right Y axis.finalXYChartPlotTitle :: StringThis is a title used in the chart. It may include special variable $TITLE.An example is finalXYChartPlotTitle = "$TITLE" finalXYChartPlotLines :: [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 may 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.finalXYChartBottomAxis :: LayoutAxis Double -> LayoutAxis DoubleA transformation of the bottom axis, after the X title is added.finalXYChartLayout :: 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 XY chart view.