Class HistogramPlot.HistogramSeries

    • Constructor Detail

      • HistogramSeries

        private HistogramSeries​(String name,
                                float[] xValues,
                                float[] yValues,
                                float binSize,
                                HistogramPlot.YAggregate yAggregate,
                                float xMin,
                                float xMax)
        Create a new HistogramSeries.
        Parameters:
        name - The name of the seris
        xValues - The x values
        yValues - The y values or null if no y values are used
        binSize - The bin size on the x axis
        yAggregate - What to show on the y axis
        xMin - The minimum x axis value or Float.NaN to let this method calculate it
        xMax - The maximum x axis value or Float.NaN to let this method calculate it
    • Method Detail

      • getName

        public String getName()
      • getItemCount

        public int getItemCount()
      • getMaxY

        public float getMaxY​(int index)
      • getMinY

        public float getMinY​(int index)