public class RangeBarSeries extends RangeSeriesBase
Modifier and Type | Field and Description |
---|---|
static int |
FILL_COLOR_PROPERTY_KEY |
static int |
STROKE_COLOR_PROPERTY_KEY |
static int |
STROKE_WIDTH_PROPERTY_KEY |
SERIES_Z_INDEX
Constructor and Description |
---|
RangeBarSeries()
Creates a new instance of the
RangeBarSeries class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getAreBarsRounded()
Gets a value that determines if the bars are drawn with rounded corners.
|
int |
getFillColor()
Gets the fill color of the bars.
|
Paint |
getFillPaint() |
Shader |
getFillShader()
Gets the
Shader that is used when the fill of the bars is drawn. |
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.
|
float |
getRoundBarsRadius()
Gets the radius of the rounding if the bars are drawn with rounded corners.
|
int |
getStrokeColor()
Gets the stroke color of the bars.
|
PathEffect |
getStrokeEffect()
Gets the
PathEffect that is used when stroke of the bars is drawn. |
Paint |
getStrokePaint() |
Shader |
getStrokeShader()
Gets the
Shader that is used when the stroke of the bars is drawn. |
float |
getStrokeWidth()
Gets the bars stroke width.
|
void |
setAreBarsRounded(boolean value)
Sets a value that determines if the bars are drawn with rounded corners.
|
void |
setCanApplyPalette(boolean value)
Sets a value that determines if the chart palette should be applied to this presenter.
|
void |
setData(Iterable data)
Sets the items source of the series.
|
void |
setFillColor(int color)
Sets the fill color of the bars.
|
void |
setFillShader(Shader value)
Sets the
Shader that is used when the fill of the bars is drawn. |
void |
setRoundBarsRadius(float value)
Sets the radius of the rounding if the bars are drawn with rounded corners.
|
void |
setStrokeColor(int color)
Sets the stroke color of the bars.
|
void |
setStrokeEffect(PathEffect value)
Sets the
PathEffect that is used when stroke of the bars is drawn. |
void |
setStrokeShader(Shader value)
Sets the
Shader that is used when the fill of the bars is drawn. |
void |
setStrokeWidth(float value)
Sets the bars stroke width.
|
getHighBinding, getLowBinding, setHighBinding, setHighBinding, setLowBinding, setLowBinding
getCategoryBinding, getCombineMode, getStackGroupKey, setCategoryBinding, setCategoryBinding, setCombineMode, setStackGroupKey
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, 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 FILL_COLOR_PROPERTY_KEY
public static final int STROKE_COLOR_PROPERTY_KEY
public static final int STROKE_WIDTH_PROPERTY_KEY
public RangeBarSeries()
RangeBarSeries
class.public int getLegendFillColor()
PointTemplateSeries
getLegendFillColor
in class PointTemplateSeries
public int getLegendStrokeColor()
PointTemplateSeries
getLegendStrokeColor
in class PointTemplateSeries
public int getStrokeColor()
public void setStrokeColor(int color)
color
- The stroke color.public void setStrokeWidth(float value)
value
- The stroke width.public float getStrokeWidth()
public boolean getAreBarsRounded()
true
if the bars are drawn rounded and false otherwise.public void setAreBarsRounded(boolean value)
value
- true
if the bars are to be drawn rounded and false otherwise.public float getRoundBarsRadius()
public void setRoundBarsRadius(float value)
value
- The rounding radius.public int getFillColor()
public void setFillColor(int color)
color
- The fill color.public Shader getFillShader()
Shader
that is used when the fill of the bars is drawn.Shader
that is used when the fill of the bars is drawn.public void setFillShader(Shader value)
Shader
that is used when the fill of the bars is drawn.value
- The Shader
that is used when the fill of the bars is drawn.public Shader getStrokeShader()
Shader
that is used when the stroke of the bars is drawn.Shader
that is used when the stroke of the bars is drawn.public void setStrokeShader(Shader value)
Shader
that is used when the fill of the bars is drawn.value
- The Shader
that is used when the fill of the bars is drawn.public PathEffect getStrokeEffect()
PathEffect
that is used when stroke of the bars is drawn.PathEffect
that is used when stroke of the bars is drawn.public void setStrokeEffect(PathEffect value)
PathEffect
that is used when stroke of the bars is drawn.value
- The PathEffect
that is used when stroke of the bars is drawn.public void setData(Iterable data)
ChartSeries
setData
in class ChartSeries
data
- The new items source of the series.public Paint getStrokePaint()
public Paint getFillPaint()
public void setCanApplyPalette(boolean value)
PresenterBase
setCanApplyPalette
in class PresenterBase