SeriesLabel
public interface ISeriesLabel
Modifier and Type | Method | Description |
---|---|---|
Font |
getFont() |
Gets the label font.
|
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(Font font) |
Sets the label font.
|
void |
setForeground(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(Color color)
color
- the label colorColor getForeground()
void setFont(Font font)
font
- the label fontFont getFont()
void setVisible(boolean visible)
visible
- the label visibility stateboolean isVisible()