Class AbstractXYChartGenerator

    • Constructor Detail

      • AbstractXYChartGenerator

        public AbstractXYChartGenerator()
    • Method Detail

      • setXColumn

        public void setXColumn​(String value)
        Sets the index of the column which values to use as X values.
        Parameters:
        value - the column index
      • getXColumn

        public String getXColumn()
        Returns the index of the column which values to use as X values.
        Returns:
        the column index
      • XColumnTipText

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

        public void setYColumns​(String value)
        Sets the Y column range to use in the chart.
        Parameters:
        value - the column range
      • getYColumns

        public String getYColumns()
        Returns the current Y column range to use in the chart.
        Returns:
        the column range
      • YColumnsTipText

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

        public String colorProviderTipText()
        Returns the tip text for this property.
        Specified by:
        colorProviderTipText in interface ColorProviderHandler
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • check

        protected void check​(String name,
                             SpreadSheet sheet)
        Checks whether the spreadsheet can be processed.

        Default implementation only ensures that data is present.
        Overrides:
        check in class AbstractChartGenerator
        Parameters:
        name - the name of the tab/sheet
        sheet - the spreadsheet to check
      • configureGenerator

        protected SpreadSheetPlotGenerator configureGenerator​(SpreadSheet sheet)
        Configures the plot generator.
        Parameters:
        sheet - the sheet to use as basis
        Returns:
        the plot generator
      • getXAxisLabel

        protected String getXAxisLabel​(SpreadSheet sheet)
        Returns the label for the X axis.
        Parameters:
        sheet - the sheet to get the column name from
        Returns:
        the label
      • getYAxisLabel

        protected String getYAxisLabel​(SpreadSheet sheet)
        Returns the label for the X axis.
        Parameters:
        sheet - the sheet to get the column name from
        Returns:
        the label
      • configureSequencePlotter

        protected void configureSequencePlotter​(SpreadSheet sheet,
                                                SequencePlotter plotter)
        Configures the sequence plotter.
        Parameters:
        sheet - the sheet to use
        plotter - the plotter instance to configure