Class HistogramDataConsumer

    • Constructor Detail

      • HistogramDataConsumer

        public HistogramDataConsumer()
        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:
        seriesname - The series name.
        valx - The x value.
        valy - The y value.
        data - The data table.
        row - The current data row.