Class AxisChartDataSet

    • Constructor Detail

      • AxisChartDataSet

        public AxisChartDataSet​(double[][] data,
                                java.lang.String[] legendLabels,
                                java.awt.Paint[] paints,
                                ChartType chartType,
                                ChartTypeProperties chartTypeProperties)
                         throws ChartDataException
        Constructor
        Parameters:
        data - the data sets to be displayed in the chart.
        legendLabels - if this is: NULL there will be no Legend. Otherwise, there must be an one to one mapping of labels to data sets.
        paints - paints to use for the data sets. There must be an one to one mapping of labels to data sets.
        chartType - constant defining how this data should be rendered
        chartTypeProperties - properties Object specific to the type of chart you are rendering.
        Throws:
        ChartDataException - if data is not in correct form.
    • Method Detail

      • getValue

        public final double getValue​(int dataset,
                                     int index)
                              throws java.lang.ArrayIndexOutOfBoundsException
        Returns the value in the data set at the specified position.
        Specified by:
        getValue in interface IAxisChartDataSet
        Parameters:
        dataset -
        index -
        Returns:
        double
        Throws:
        java.lang.ArrayIndexOutOfBoundsException
      • getNumberOfDataSets

        public final int getNumberOfDataSets()
        Returns the number of IAxisChartDataSet Objects in this series
        Specified by:
        getNumberOfDataSets in interface IAxisPlotDataSet
        Returns:
        int
      • toHTML

        public void toHTML​(HTMLGenerator htmlGenerator)
        Enables the testing routines to display the contents of this Object.
        Specified by:
        toHTML in interface HTMLTestable
        Overrides:
        toHTML in class DataSet
        Parameters:
        htmlGenerator -