Class DefaultCropChart

java.lang.Object
net.simplace.ui.jfreechart.DefaultCropChart

public class DefaultCropChart extends Object
Builds the datasets of the default crop model chart (see DefaultCropModelChart) from a result cache. The variables are assigned by their field name: TOP_LINE2..., TOP_LINE..., CENTER_LINE..., CENTER_BAR..., BOTTOM_LINE...; measured data become bullets, with a matching ..._SD_... variable bullets with error bars. The first array variable becomes the layer plot, other variables are ignored.
Author:
XPMUser
  • Constructor Details

    • DefaultCropChart

      public DefaultCropChart(net.simplace.sim.io.output.FWSimResultCache aCache)
      Reads the variables and values of the cache into the datasets; errors are logged.
      Parameters:
      aCache - the result cache (keys: dates, values: one entry per variable)
  • Method Details

    • createChart

      public org.jfree.chart.JFreeChart createChart()
      Returns:
      the chart with top, center and bottom (layer) plot