Interface CategoryDataSeriesInternal
- All Superinterfaces:
CategoryDataSeries
,DataSeries
,DataSeriesInternal
,PlotExceptionCause
,Serializable
,Series
,SeriesInternal
- All Known Subinterfaces:
CategoryErrorBarDataSeriesInternal
,CategorySwappableTableDataSeriesInternal
,CategoryTableDataSeriesInternal
- All Known Implementing Classes:
AbstractCategoryDataSeries
,AbstractMapBasedCategoryDataSeries
,AbstractSwappableTableBasedCategoryDataSeries
,AbstractTableBasedCategoryDataSeries
,CategoryDataSeriesMap
,CategoryDataSeriesSwappableTableMap
,CategoryDataSeriesTableMap
,CategoryErrorBarDataSeriesMap
,CategoryErrorBarDataSeriesSwappableTableMap
,CategoryErrorBarDataSeriesTableMap
,TransformedCategoryDataSeries
public interface CategoryDataSeriesInternal extends CategoryDataSeries, DataSeriesInternal
Dataset with discrete and numeric components.
Discrete values must extend
Comparable
and are called categories.-
Method Summary
Modifier and Type Method Description Collection<Comparable>
categories()
Gets the categories of the dataset.CategoryDataSeriesInternal
copy(AxesImpl axes)
Create a copy of the series on a different set of axes.CategoryDataSeriesInternal
createSnapshot()
Returns a snapshot of this dataset which will not update.default boolean
drawYError()
long
getCategoryLocation(Comparable category)
Get the row key of the specified series.Paint
getColor(Comparable category)
Gets thePaint
for the given data point.default Number
getEndY(Comparable category)
int
getGroup()
Gets the group for this dataset.String
getLabel(Comparable category)
Gets the point label for the given data point.String
getPiePercentLabelFormat()
Gets the pie plot percent label format.Shape
getPointShape(Comparable category)
Gets the point shape for the given data point.Double
getPointSize(Comparable category)
Gets the point size for the given data point.default Number
getStartY(Comparable category)
Number
getValue(Comparable category)
Gets the numeric value corresponding to the givencategory
.org.jfree.data.Range
getYRange()
Gets the y range of this dataset.void
init()
Do any required initialization before data may be read from the series.Methods inherited from interface com.illumon.iris.db.plot.datasets.category.CategoryDataSeries
errorBarColor, errorBarColor, errorBarColor, gradientVisible, group, lineColor, lineColor, lineColor, lineStyle, linesVisible, piePercentLabelFormat, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorByY, pointColorInteger, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible
Methods inherited from interface com.illumon.iris.db.plot.datasets.DataSeries
pointColorByY, pointColorByY, pointLabel, pointLabelFormat, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, seriesColor, seriesColor, seriesColor, toolTipPattern, xToolTipPattern, yToolTipPattern
Methods inherited from interface com.illumon.iris.db.plot.datasets.DataSeriesInternal
axes, chart, getErrorBarColor, getGradientVisible, getLineColor, getLineStyle, getLinesVisible, getPlotInfo, getPointLabelFormat, getPointsVisible, getSeriesColor, getXToolTipPattern, getYToolTipPattern, id, name, size
Methods inherited from interface com.illumon.iris.db.plot.SeriesInternal
addSwappableTable, addTableHandle, addTableMapHandle, dataChangeListener, getSwappableTables, getTableHandles, getTableMapHandles, onClose, onInflate, removeTableHandle
-
Method Details
-
copy
Description copied from interface:SeriesInternal
Create a copy of the series on a different set of axes.- Specified by:
copy
in interfaceDataSeriesInternal
- Specified by:
copy
in interfaceSeriesInternal
- Parameters:
axes
- new axes.- Returns:
- copy of the series on a different set of axes.
-
categories
Collection<Comparable> categories()Gets the categories of the dataset.- Returns:
- all categories in the dataset
-
getValue
Gets the numeric value corresponding to the givencategory
.- Parameters:
category
- category- Returns:
- numeric value corresponding to the given
category
-
getColor
Gets thePaint
for the given data point.- Parameters:
category
- category- Returns:
Paint
for the given data point
-
getPointSize
Gets the point size for the given data point.- Parameters:
category
- category- Returns:
- point size for the given data point
-
getLabel
Gets the point label for the given data point.- Parameters:
category
- category- Returns:
- point label for the given data point
-
getPointShape
Gets the point shape for the given data point.- Parameters:
category
- category- Returns:
- point shape for the given data point
-
getGroup
int getGroup()Gets the group for this dataset.- Returns:
- group for this dataset
-
getStartY
-
getEndY
-
drawYError
default boolean drawYError() -
getYRange
org.jfree.data.Range getYRange()Gets the y range of this dataset.- Returns:
- y range of this dataset
-
createSnapshot
CategoryDataSeriesInternal createSnapshot()Description copied from interface:DataSeriesInternal
Returns a snapshot of this dataset which will not update.- Specified by:
createSnapshot
in interfaceDataSeriesInternal
-
init
void init()Do any required initialization before data may be read from the series. -
getPiePercentLabelFormat
String getPiePercentLabelFormat()Gets the pie plot percent label format.- Returns:
- pie plot percent label format
-
getCategoryLocation
Get the row key of the specified series.- Returns:
-