Modifier and Type | Interface and Description |
---|---|
static class |
IBarSeries.BarWidthStyle
Bar width style.
|
ISeries.SeriesType
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.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.
|
org.eclipse.swt.graphics.Rectangle[] |
getBounds()
Gets the array of bar rectangles.
|
void |
setBarColor(org.eclipse.swt.graphics.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 percentageorg.eclipse.swt.graphics.Color getBarColor()
void setBarColor(org.eclipse.swt.graphics.Color color)
color
- the bar colororg.eclipse.swt.graphics.Rectangle[] 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.
Copyright © 2014. All Rights Reserved.