public class CandlestickSeriesStyle extends java.lang.Object implements SeriesStyle
| Constructor and Description |
|---|
CandlestickSeriesStyle(Brush risingBrush,
Brush fallingBrush,
Brush stroke,
double strokeThickness,
DashStyle strokeDashStyle,
CandlestickRenderer renderer)
Initializes a new instance of the
CandlestickSeriesStyle class. |
| Modifier and Type | Method and Description |
|---|---|
Brush |
fill(int seriesIndex,
int dataIndex)
Implements SeriesStyle.fill.
|
Brush |
getFallingBrush()
Gets a Brush used to fill candlesticks, which open value is greater than its close value.
|
Brush |
getRisingBrush()
Gets a Brush used to fill candlesticks, which open value is smaller or equal to its close value.
|
Brush |
getStroke()
Gets a Brush used to stroke candlesticks;
|
DashStyle |
getStrokeDashStyle()
Gets the stroke dash style of the candlesticks.
|
java.lang.Double |
getStrokeThickness()
Gets the stroke thickness of the candlesticks.
|
void |
setFallingBrush(Brush value)
Sets a Brush used to fill candlesticks, which open value is greater than its close value.
|
void |
setRisingBrush(Brush value)
Sets a Brush used to fill candlesticks, which open value is smaller or equal to its close value.
|
void |
setStroke(Brush value)
Sets a Brush used to stroke candlesticks;
|
void |
setStrokeDashStyle(DashStyle value)
Sets the stroke dash style of the candlesticks.
|
void |
setStrokeThickness(double value)
Sets the stroke thickness of the candlesticks.
|
Brush |
stroke(int seriesIndex,
int dataIndex)
Implements SeriesStyle.stroke.
|
DashStyle |
strokeDashStyle(int seriesIndex,
int dataIndex)
Implements SeriesStyle.strokeDashStyle.
|
java.lang.Double |
strokeThickness(int seriesIndex,
int dataIndex)
Implements SeriesStyle.strokeThickness.
|
public CandlestickSeriesStyle(Brush risingBrush, Brush fallingBrush, Brush stroke, double strokeThickness, DashStyle strokeDashStyle, CandlestickRenderer renderer)
CandlestickSeriesStyle class.public Brush fill(int seriesIndex, int dataIndex)
fill in interface SeriesStyleseriesIndex - An integer index of a Series.dataIndex - An integer index of a data item in specified series.public Brush stroke(int seriesIndex, int dataIndex)
stroke in interface SeriesStyleseriesIndex - An integer index of a Series.dataIndex - An integer index of a data item in specified series.public java.lang.Double strokeThickness(int seriesIndex,
int dataIndex)
strokeThickness in interface SeriesStyleseriesIndex - An integer index of a Series.dataIndex - An integer index of a data item in specified series.public DashStyle strokeDashStyle(int seriesIndex, int dataIndex)
strokeDashStyle in interface SeriesStyleseriesIndex - An integer index of a Series.dataIndex - An integer index of a data item in specified series.public Brush getRisingBrush()
public void setRisingBrush(Brush value)
public Brush getFallingBrush()
public void setFallingBrush(Brush value)
public Brush getStroke()
public void setStroke(Brush value)
public java.lang.Double getStrokeThickness()
public void setStrokeThickness(double value)
public DashStyle getStrokeDashStyle()
public void setStrokeDashStyle(DashStyle value)