T
- Must be a DataPoint
.public abstract class DataPointSeriesModel<T extends DataPoint> extends ChartSeriesModel
ChartSeriesModel.DataPointsChangedListener
ChartElement.Predicate<T>
DATA_POINTS_MODIFIED_MESSAGE_KEY
children
PROPERTY_CHANGED_MESSAGE, PROPERTY_CHANGING_MESSAGE, trackPropertyChanged, trackPropertyChanging
Constructor and Description |
---|
DataPointSeriesModel()
Creates a new instance of the
DataPointSeriesModel class. |
Modifier and Type | Method and Description |
---|---|
DataPointCollection<T> |
dataPoints()
Gets a
DataPointCollection instance that holds the currently created data points in this series. |
boolean |
getVirtualizationEnabled() |
void |
setVirtualizationEnabled(boolean enabled) |
void |
updateVisibleDataPoints()
Used to trigger the update of the currently visible points according to the current pan and zoom values.
|
List<T> |
visibleDataPoints()
Gets the current range of visible data points according to the current pan and zoom values.
|
getCombinedPlotStrategy, getCombinedRoundLayoutStrategy, getDataPointsChangedListener, getDefaultPlotMode, selectPlotMode, setDataPointsChangedListener
canAddChild, enumDescendants, enumDescendants, enumDescendants, findAncestor, findDescendant, getPresenter, isAncestorOf, setPresenter
applyLayoutRounding, arrange, arrange, chartArea, clearValue, collectionIndex, getLayoutSlot, getNodeState, getParent, index, invalidate, isTreeLoaded, isVisible, load, setIsVisible, setParent, setValue
getTypedValue, getValue, isLocalValue
public DataPointSeriesModel()
DataPointSeriesModel
class.public boolean getVirtualizationEnabled()
public void setVirtualizationEnabled(boolean enabled)
public DataPointCollection<T> dataPoints()
ChartSeriesModel
DataPointCollection
instance that holds the currently created data points in this series.dataPoints
in class ChartSeriesModel
public void updateVisibleDataPoints()
ChartSeriesModel
updateVisibleDataPoints
in class ChartSeriesModel
public List<T> visibleDataPoints()
ChartSeriesModel
visibleDataPoints
in class ChartSeriesModel