org.swtchart
ISeries.SeriesType
Modifier and Type | Method and Description |
---|---|
Color |
getBarColor()
Gets the bar color.
|
int |
getBarPadding()
Gets the bar padding in percentage.
|
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.
|
addDisposeListener, enableStack, getId, getLabel, getPixelCoordinates, getType, getXAxisId, getXDateSeries, getXErrorBar, getXSeries, getYAxisId, getYErrorBar, getYSeries, isStackEnabled, isVisible, isVisibleInLegend, setVisible, setVisibleInLegend, setXAxisId, setXDateSeries, setXSeries, setYAxisId, setYSeries
int 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.