Class CategoryDatasetImpl

java.lang.Object
org.jfree.data.general.AbstractDataset
com.inductiveautomation.ignition.common.gui.chart.CategoryDatasetImpl
All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, org.jfree.data.category.CategoryDataset, org.jfree.data.general.Dataset, org.jfree.data.KeyedValues2D, org.jfree.data.RangeInfo, org.jfree.data.Values2D
Direct Known Subclasses:
CategoryDataSet

public class CategoryDatasetImpl extends org.jfree.data.general.AbstractDataset implements org.jfree.data.category.CategoryDataset, org.jfree.data.RangeInfo
Basic category dataset implementation backed by an Ignition Dateset
See Also:
  • Field Details

    • BY_ROW

      public static final int BY_ROW
      See Also:
    • BY_COL

      public static final int BY_COL
      See Also:
    • dataset

      protected Dataset dataset
    • order

      protected final int order
    • rowHeaders

      protected List<String> rowHeaders
    • colHeaders

      protected List<String> colHeaders
    • minValue

      protected double minValue
    • maxValue

      protected double maxValue
    • range

      protected org.jfree.data.Range range
  • Constructor Details

    • CategoryDatasetImpl

      public CategoryDatasetImpl(Dataset dataset, int order)
  • Method Details

    • setDataset

      protected void setDataset(Dataset ds)
    • getRowKey

      public Comparable getRowKey(int row)
      Specified by:
      getRowKey in interface org.jfree.data.KeyedValues2D
    • getRowIndex

      public int getRowIndex(Comparable key)
      Specified by:
      getRowIndex in interface org.jfree.data.KeyedValues2D
    • getRowKeys

      public List getRowKeys()
      Specified by:
      getRowKeys in interface org.jfree.data.KeyedValues2D
    • getColumnKey

      public Comparable getColumnKey(int column)
      Specified by:
      getColumnKey in interface org.jfree.data.KeyedValues2D
    • getColumnIndex

      public int getColumnIndex(Comparable key)
      Specified by:
      getColumnIndex in interface org.jfree.data.KeyedValues2D
    • getColumnKeys

      public List<String> getColumnKeys()
      Specified by:
      getColumnKeys in interface org.jfree.data.KeyedValues2D
    • getValue

      public Number getValue(Comparable rowKey, Comparable columnKey)
      Specified by:
      getValue in interface org.jfree.data.KeyedValues2D
    • getRowCount

      public int getRowCount()
      Specified by:
      getRowCount in interface org.jfree.data.Values2D
    • getColumnCount

      public int getColumnCount()
      Specified by:
      getColumnCount in interface org.jfree.data.Values2D
    • getValue

      public Number getValue(int row, int column)
      Specified by:
      getValue in interface org.jfree.data.Values2D
    • getRangeBounds

      public org.jfree.data.Range getRangeBounds(boolean includeInterval)
      Specified by:
      getRangeBounds in interface org.jfree.data.RangeInfo
    • getRangeLowerBound

      public double getRangeLowerBound(boolean includeInterval)
      Specified by:
      getRangeLowerBound in interface org.jfree.data.RangeInfo
    • getRangeUpperBound

      public double getRangeUpperBound(boolean includeInterval)
      Specified by:
      getRangeUpperBound in interface org.jfree.data.RangeInfo