Skip navigation links
com.objectplanet.chart.ext

Class SplineChart

    • Constructor Detail

      • SplineChart

        public SplineChart()
        Creates a smooth point line chart with one series, 5 samples, and a range of 0-100.
      • SplineChart

        public SplineChart(int seriesCount,
                           int sampleCount,
                           double range)
        Creates a smooth point line chart with the specified number of series, the number of samples per serie, and the chart range.
        Parameters:
        seriesCount - The number of sample series.
        sampleCount - The number of samples per series.
        range - The upper range of the chart.
        Throws:
        java.lang.IllegalArgumentException - If the seriesCount is less than 1
      • SplineChart

        public SplineChart(int seriesCount,
                           int sampleCount,
                           double range,
                           double lowerRange)
        Creates a smooth point line chart with the specified number of series, the number of samples per serie, and the chart range.
        Parameters:
        seriesCount - The number of sample series.
        sampleCount - The number of samples per series.
        range - The upper range of the chart.
        lowerRange - The lower range of the chart.
        Throws:
        java.lang.IllegalArgumentException - If the seriesCount is less than 1