SeriesLabel
public interface ISeriesLabel
Modifier and Type | Method | Description |
---|---|---|
org.eclipse.swt.graphics.Font |
getFont() |
Gets the label font.
|
org.eclipse.swt.graphics.Color |
getForeground() |
Gets the label color.
|
java.lang.String |
getFormat() |
Gets the format for label.
|
java.lang.String[] |
getFormats() |
Gets the formats for all data points.
|
boolean |
isVisible() |
Gets the label visibility state.
|
void |
setFont(org.eclipse.swt.graphics.Font font) |
Sets the label font.
|
void |
setForeground(org.eclipse.swt.graphics.Color color) |
Sets the label color.
|
void |
setFormat(java.lang.String format) |
Sets the decimal format
DecimalFormat or/plus plain string. |
void |
setFormats(java.lang.String[] formats) |
Sets the formats for all data points.
|
void |
setVisible(boolean visible) |
Sets the label visibility state.
|
void setFormat(java.lang.String format)
DecimalFormat
or/plus plain string.
If formats have been set with setFormats(String[]), the format set with this method will be ignored.
If null is given, default format "#.###########" will be set.
format
- the formatjava.lang.String getFormat()
void setFormats(java.lang.String[] formats)
formats
- the formatsjava.lang.String[] getFormats()
void setForeground(org.eclipse.swt.graphics.Color color)
color
- the label colororg.eclipse.swt.graphics.Color getForeground()
void setFont(org.eclipse.swt.graphics.Font font)
font
- the label fontorg.eclipse.swt.graphics.Font getFont()
void setVisible(boolean visible)
visible
- the label visibility stateboolean isVisible()