|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILineSeries
Line series.
Nested Class Summary | |
---|---|
static class |
ILineSeries.PlotSymbolType
A plot symbol type. |
Nested classes/interfaces inherited from interface org.swtchart.ISeries |
---|
ISeries.SeriesType |
Method Summary | |
---|---|
void |
enableArea(boolean enabled)
Enables the area chart. |
void |
enableStep(boolean enabled)
Enables the step chart. |
int |
getAntialias()
Gets the anti-aliasing value for drawing line. |
Color |
getLineColor()
Gets the line color. |
LineStyle |
getLineStyle()
Gets line style. |
int |
getLineWidth()
Gets the line width. |
Color |
getSymbolColor()
Gets the symbol color. |
Color[] |
getSymbolColors()
Gets the symbol colors. |
int |
getSymbolSize()
Gets the symbol size in pixels. |
ILineSeries.PlotSymbolType |
getSymbolType()
Gets the symbol type. |
boolean |
isAreaEnabled()
Gets the state indicating if area chart is enabled. |
boolean |
isStepEnabled()
Gets the state indicating if step chart is enabled. |
void |
setAntialias(int antialias)
Sets the anti-aliasing value for drawing line. |
void |
setLineColor(Color color)
Sets line color. |
void |
setLineStyle(LineStyle style)
Sets line style. |
void |
setLineWidth(int width)
Sets the width of line connecting data points and also line drawing symbol if applicable (i.e. |
void |
setSymbolColor(Color color)
Sets the symbol color. |
void |
setSymbolColors(Color[] colors)
Sets the symbol colors. |
void |
setSymbolSize(int size)
Sets the symbol size in pixels. |
void |
setSymbolType(ILineSeries.PlotSymbolType type)
Sets the symbol type. |
Methods inherited from interface org.swtchart.ISeries |
---|
addDisposeListener, enableStack, getId, getLabel, getPixelCoordinates, getType, getXAxisId, getXDateSeries, getXErrorBar, getXSeries, getYAxisId, getYErrorBar, getYSeries, isStackEnabled, isVisible, isVisibleInLegend, setVisible, setVisibleInLegend, setXAxisId, setXDateSeries, setXSeries, setYAxisId, setYSeries |
Method Detail |
---|
ILineSeries.PlotSymbolType getSymbolType()
void setSymbolType(ILineSeries.PlotSymbolType type)
type
- the symbol typeint getSymbolSize()
void setSymbolSize(int size)
size
- the symbol sizeColor getSymbolColor()
void setSymbolColor(Color color)
color
- the symbol colorColor[] getSymbolColors()
void setSymbolColors(Color[] colors)
By default, null is set.
colors
- the symbol colors. If null is given, the color which
is set with setSymbolColor(Color) will be commonly
used for all plots.LineStyle getLineStyle()
void setLineStyle(LineStyle style)
style
- line styleColor getLineColor()
void setLineColor(Color color)
color
- the line colorint getLineWidth()
void setLineWidth(int width)
width
- the line widthvoid enableArea(boolean enabled)
enabled
- true if enabling area chartboolean isAreaEnabled()
void enableStep(boolean enabled)
enabled
- true if enabling step chartboolean isStepEnabled()
int getAntialias()
void setAntialias(int antialias)
If number of data points is too large, the series is drawn as a collection of dots rather than lines. In this case, the anti-alias doesn't really make effect, and just causes performance degradation. Therefore, client code may automatically enable/disable the anti-alias for each series depending on the number of data points, or alternatively may let end-user configure it.
antialias
- the anti-aliasing value which can be SWT.DEFAULT,
SWT.ON or SWT.OFF.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |