Class XYForEachRecordDataset

java.lang.Object
com.inet.report.chart.dataset.AbstractDataset
com.inet.report.chart.dataset.XYForAllRecordsDataset
com.inet.report.chart.dataset.XYForEachRecordDataset
All Implemented Interfaces:
BaseDataset, XYDataset, Serializable
Direct Known Subclasses:
XYOneGroupDataset

public class XYForEachRecordDataset extends XYForAllRecordsDataset
This is a dataset used by xy charts. This evaluates data 'for each record' for three data fields (x, y and size).
Since:
8.0
See Also:
  • Constructor Details

    • XYForEachRecordDataset

      public XYForEachRecordDataset(Chart2 chart)
      Creates a new empty dataset.
      Parameters:
      chart - the chart (null not permitted)
      Since:
      8.0
  • Method Details

    • getName

      protected String getName()
      Overrides:
      getName in class XYForAllRecordsDataset
    • getLabelProvider

      public com.inet.report.chart.dataset.LabelProvider getLabelProvider()
      Returns the LabelProvider responsible for providing the title, footnote, and axis labels
      Specified by:
      getLabelProvider in interface BaseDataset
      Overrides:
      getLabelProvider in class XYForAllRecordsDataset
      Returns:
      the LabelProvider responsible for providing the title, footnote, and axis labels
    • getLabelField

      public Field getLabelField()
      Returns the label field which is used to label the row on the group axis.
      Returns:
      the field.
      Since:
      25.10
      See Also:
    • setLabelField

      public void setLabelField(Field labelField)
      Sets the label field. The label field is used to label the group axis. If this field was not set, the chart indicates each item with its row number. Otherwise the chart displays the value of the label field from the current row on the group axis.
      Parameters:
      labelField - the field (null permitted)
      Since:
      25.10
      See Also:
    • getReferencedObject

      public List getReferencedObject()
      FOR INTERNAL USE ONLY
      Specified by:
      getReferencedObject in interface BaseDataset
      Overrides:
      getReferencedObject in class com.inet.report.chart.dataset.AbstractDataset
      Returns:
      FOR INTERNAL USE ONLY
    • saveProperties

      protected void saveProperties(PrintWriter out, int depth)
      Overrides:
      saveProperties in class com.inet.report.chart.dataset.AbstractDataset