Class TimeChartDataConsumer

    • Field Detail

      • seriesmap

        protected java.util.Map seriesmap
        The series map.
    • Constructor Detail

      • TimeChartDataConsumer

        public TimeChartDataConsumer()
        Create a new chart consumer.
    • Method Detail

      • createChart

        protected org.jfree.chart.JFreeChart createChart()
        Create a chart with the underlying dataset.
        Specified by:
        createChart in class AbstractChartDataConsumer
        Returns:
        The chart.
      • addValue

        protected void addValue​(java.lang.Comparable seriesname,
                                java.lang.Object valx,
                                java.lang.Object valy,
                                DataTable data,
                                java.lang.Object[] row)
        Add a value to a specific series of the chart.
        Specified by:
        addValue in class AbstractChartDataConsumer
        Parameters:
        valx - The x value.
        valy - The y value.
        data - The data table.
        row - The current data row.
        seriesname - The seriesname.