Class SimResultCacheCharts

java.lang.Object
net.simplace.client.sim.filler.SimResultCacheCharts

public final class SimResultCacheCharts extends Object
Converts the content of a FWSimResultCache into chart datasets of the result forms.
Author:
Andreas Enders
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addSeries(net.simplace.sim.io.output.FWSimResultCache aCache, String aVarNameString, org.jfree.data.general.Dataset aDataset, boolean aMultiSessionMode)
    Adds the values of a column of the result cache as series to a chart dataset: DefaultXYZDataset: layer data of an array variable (x = time, y = layer depth from the column <name>_LEVEL or 0.03 per layer, z = value); the count of the variable is adapted to the array length TimeSeriesCollection: time series with years, months, days or rule-based periods, depending on the frequency XYIntervalSeriesCollection: values with an interval of +/- the column <name>_SD, if present

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • addSeries

      public static void addSeries(net.simplace.sim.io.output.FWSimResultCache aCache, String aVarNameString, org.jfree.data.general.Dataset aDataset, boolean aMultiSessionMode)
      Adds the values of a column of the result cache as series to a chart dataset:
      • DefaultXYZDataset: layer data of an array variable (x = time, y = layer depth from the column <name>_LEVEL or 0.03 per layer, z = value); the count of the variable is adapted to the array length
      • TimeSeriesCollection: time series with years, months, days or rule-based periods, depending on the frequency
      • XYIntervalSeriesCollection: values with an interval of +/- the column <name>_SD, if present
      Parameters:
      aCache - the result cache
      aVarNameString - name of the column
      aDataset - the dataset the series is added to
      aMultiSessionMode - true to name the series by the id of the cache instead of the variable description