Modifier and Type | Interface | Description |
---|---|---|
static class |
IBarSeries.BarWidthStyle |
Bar width style.
|
ISeries.SeriesType
Modifier and Type | Method | Description |
---|---|---|
Color |
getBarColor() |
Gets the bar color.
|
int |
getBarPadding() |
Gets the bar padding in percentage.
|
int |
getBarWidth() |
Gets the bar width in pixels.
|
IBarSeries.BarWidthStyle |
getBarWidthStyle(IBarSeries.BarWidthStyle style) |
Gets the bar width style.
|
Rectangle[] |
getBounds() |
Gets the array of bar rectangles.
|
void |
setBarColor(Color color) |
Sets the bar color.
|
void |
setBarPadding(int padding) |
Sets the bar padding in percentage.
|
void |
setBarWidth(int width) |
Sets the bar width in pixels.
|
void |
setBarWidthStyle(IBarSeries.BarWidthStyle style) |
Sets the bar width style.
|
addDisposeListener, enableStack, getDescription, getId, getLabel, getPixelCoordinates, getType, getXAxisId, getXDateSeries, getXErrorBar, getXSeries, getYAxisId, getYErrorBar, getYSeries, isStackEnabled, isVisible, isVisibleInLegend, setDescription, setVisible, setVisibleInLegend, setXAxisId, setXDateSeries, setXSeries, setYAxisId, setYSeries
IBarSeries.BarWidthStyle getBarWidthStyle(IBarSeries.BarWidthStyle style)
style
- the bar width stylevoid setBarWidthStyle(IBarSeries.BarWidthStyle style)
style
- the bar width styleint getBarWidth()
void setBarWidth(int width)
width
- the bar width in pixelsint getBarPadding()
void setBarPadding(int padding)
padding
- the bar padding in percentageColor getBarColor()
void setBarColor(Color color)
color
- the bar colorRectangle[] getBounds()
The returned array has the same size as data points. Depending on X axis range, some bars can be out of screen. In this case, the rectangles for invisible bars will be null in the returned array.