Class DefaultXYZ

    • Constructor Detail

      • DefaultXYZ

        public DefaultXYZ()
    • Method Detail

      • setX

        public void setX​(SpreadSheetColumnIndex value)
        Sets the index of the column to act as X axis.
        Parameters:
        value - the index
      • getX

        public SpreadSheetColumnIndex getX()
        Returns the index of the column to act as X axis.
        Returns:
        the index
      • XTipText

        public String XTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setY

        public void setY​(SpreadSheetColumnIndex value)
        Sets the index of column to use as Y.
        Parameters:
        value - the index
      • YTipText

        public String YTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setZ

        public void setZ​(SpreadSheetColumnIndex value)
        Sets the index of column to use as Z.
        Parameters:
        value - the index
      • ZTipText

        public String ZTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • generates

        public Class<? extends org.jfree.data.general.Dataset> generates()
        Returns the class of dataset that it generates.
        Specified by:
        generates in class AbstractDatasetGenerator<org.jfree.data.xy.DefaultXYZDataset>
        Returns:
        the dataset class
      • check

        protected String check​(SpreadSheet data)
        Hook method for checks before generating the dataset.
        Overrides:
        check in class AbstractDatasetGenerator<org.jfree.data.xy.DefaultXYZDataset>
        Parameters:
        data - the data to use
        Returns:
        null if checks passed, otherwise error message
      • doGenerate

        protected org.jfree.data.xy.DefaultXYZDataset doGenerate​(SpreadSheet data)
        Performs the actual generation of the dataset.
        Specified by:
        doGenerate in class AbstractDatasetGenerator<org.jfree.data.xy.DefaultXYZDataset>
        Parameters:
        data - the data to use
        Returns:
        the dataset
      • doAddSeries

        protected org.jfree.data.xy.DefaultXYZDataset doAddSeries​(org.jfree.data.general.Dataset dataset,
                                                                  SpreadSheet data)
        Performs the actual addition of the series to the dataset.
        Specified by:
        doAddSeries in class AbstractDatasetGenerator<org.jfree.data.xy.DefaultXYZDataset>
        Parameters:
        dataset - the dataset to add the series to
        data - the data to use
        Returns:
        the dataset