public abstract class OhlcSeriesBase extends CartesianSeries
Modifier and Type | Field and Description |
---|---|
static int |
STROKE_COLOR_PROPERTY_KEY |
static int |
STROKE_WIDTH_PROPERTY_KEY |
SERIES_Z_INDEX
Constructor and Description |
---|
OhlcSeriesBase()
Creates a new instance of the
OhlcSeriesBase class. |
Modifier and Type | Method and Description |
---|---|
DataPointCollection<OhlcDataPoint> |
dataPoints()
Gets the collection of data points associated with the series.
|
DataPointBinding |
getCategoryBinding()
Gets the binding that will be used to fill the category of the contained data points.
|
DataPointBinding |
getCloseBinding()
Gets the binding that will be used to fill the Close member of the contained data points.
|
DataPointBinding |
getHighBinding()
Gets the binding that will be used to fill the High member of the contained data points.
|
int |
getLegendFillColor()
Returns the color used to depict this series in the Chart legend.
|
int |
getLegendStrokeColor()
Returns the stroke color used to depict this series in the Chart legend.
|
DataPointBinding |
getLowBinding()
Gets the binding that will be used to fill the Low member of the contained data points.
|
DataPointBinding |
getOpenBinding()
Gets the binding that will be used to fill the Open member of the contained data points.
|
int |
getStrokeColor()
Gets the current stroke color.
|
float |
getStrokeWidth()
Gets the current stroke width.
|
void |
setCategoryBinding(DataPointBinding categoryBinding)
Sets the binding that will be used to fill the category of the contained data points.
|
<T,U> void |
setCategoryBinding(Function<T,U> valueSelector)
Sets the binding that will be used to fill the category of the contained data points.
|
void |
setCloseBinding(DataPointBinding closeBinding)
Sets the binding that will be used to fill the Close member of the contained data points.
|
<T,U> void |
setCloseBinding(Function<T,U> valueSelector)
Sets the binding that will be used to fill the Close member of the contained data points.
|
void |
setData(Iterable data)
Sets the items source of the series.
|
void |
setHighBinding(DataPointBinding highBinding)
Sets the binding that will be used to fill the High member of the contained data points.
|
<T,U> void |
setHighBinding(Function<T,U> valueSelector)
Sets the binding that will be used to fill the High member of the contained data points.
|
void |
setLowBinding(DataPointBinding lowBinding)
Sets the binding that will be used to fill the Low member of the contained data points.
|
<T,U> void |
setLowBinding(Function<T,U> valueSelector)
Sets the binding that will be used to fill the Low member of the contained data points.
|
void |
setOpenBinding(DataPointBinding openBinding)
Sets the binding that will be used to fill the Open member of the contained data points.
|
<T,U> void |
setOpenBinding(Function<T,U> valueSelector)
Sets the binding that will be used to fill the Open member of the contained data points.
|
void |
setStrokeColor(int strokeColor)
Sets the current stroke color.
|
void |
setStrokeWidth(float strokeWidth)
Sets the current stroke width.
|
chartAxisChanged, getHorizontalAxis, getVerticalAxis, setHorizontalAxis, setVerticalAxis
getDataPointRenderer, getLegendTitle, getSelectedChangeListener, onPointAdded, onPointRemoved, setDataPointRenderer, setIsSelected, setLegendTitle, setSelectedChangeListener
addPropertyChangedListener, dataSource, findClosestPoint, getClipToPlotArea, getData, getDistanceToPoint, getIsSelected, getIsVisibleInLegend, getLabelFillColor, getLabelFont, getLabelFontStyle, getLabelFormat, getLabelMargin, getLabelRenderer, getLabelSize, getLabelStrokeColor, getLabelTextColor, getLabelValueToStringConverter, getPlotAreaSize, getSelectionMode, getShowLabels, hitTest, hitTestDataPoint, model, onBoundItemPropertyChanged, onDataBindingComplete, onDataPointIsSelectedChanged, postRender, removePropertyChangedListener, render, setClipToPlotArea, setIsVisibleInLegend, setLabelFillColor, setLabelFont, setLabelFontStyle, setLabelFormat, setLabelMargin, setLabelPadding, setLabelRenderer, setLabelSize, setLabelStrokeColor, setLabelTextColor, setLabelValueToStringConverter, setSelectionMode, setShowLabels
attach, detach, getCanApplyPalette, getChart, getCollectionIndex, getPalette, getZIndex, invalidatePalette, onPaletteInvalidated, onPaletteUpdated, requestLayout, requestRender, setZIndex, updatePalette
getPaletteFamily, getPaletteFamilyCore, isLoaded, isPaletteApplied, isVisible, measureContent, paletteFamily, refreshNode, setCanApplyPalette, setPaletteFamily, setVisible, setVisible
getValue, resetPropertyValue, setValue, setValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIsSelected
getCollectionIndex, invalidatePalette, measureContent, refreshNode
public static final int STROKE_COLOR_PROPERTY_KEY
public static final int STROKE_WIDTH_PROPERTY_KEY
public OhlcSeriesBase()
OhlcSeriesBase
class.public int getLegendFillColor()
PointTemplateSeries
getLegendFillColor
in class PointTemplateSeries
public int getLegendStrokeColor()
PointTemplateSeries
getLegendStrokeColor
in class PointTemplateSeries
public int getStrokeColor()
public void setStrokeColor(int strokeColor)
strokeColor
- the new stroke color.public float getStrokeWidth()
public void setStrokeWidth(float strokeWidth)
strokeWidth
- the new stroke width.public void setData(Iterable data)
ChartSeries
setData
in class ChartSeries
data
- The new items source of the series.public DataPointCollection<OhlcDataPoint> dataPoints()
public DataPointBinding getHighBinding()
public void setHighBinding(DataPointBinding highBinding)
highBinding
- The new high binding.public <T,U> void setHighBinding(Function<T,U> valueSelector)
valueSelector
- The new high value selector.public DataPointBinding getLowBinding()
public void setLowBinding(DataPointBinding lowBinding)
lowBinding
- The new low binding.public <T,U> void setLowBinding(Function<T,U> valueSelector)
valueSelector
- The new low value selector.public DataPointBinding getOpenBinding()
public void setOpenBinding(DataPointBinding openBinding)
openBinding
- The new open binding.public <T,U> void setOpenBinding(Function<T,U> valueSelector)
valueSelector
- The new open value selector.public DataPointBinding getCloseBinding()
public void setCloseBinding(DataPointBinding closeBinding)
closeBinding
- The new close binding.public <T,U> void setCloseBinding(Function<T,U> valueSelector)
valueSelector
- The new close value selector.public DataPointBinding getCategoryBinding()
public void setCategoryBinding(DataPointBinding categoryBinding)
categoryBinding
- The new category binding.public <T,U> void setCategoryBinding(Function<T,U> valueSelector)
valueSelector
- The new category selector.