public interface HasLabels
Modifier and Type | Method and Description |
---|---|
default Labels |
getLabels()
Returns the labels.
|
default Labels |
getLabels(boolean binding)
Returns the labels for axes.
|
LabelsHandler |
getLabelsHandler()
Returns an labels option handler instance.
|
default void |
setLabels(Labels labels)
Sets the labels of the data.
|
default void |
setLabels(List<String> labels)
Sets the labels of the data.
|
default void |
setLabels(String... labels)
Sets the labels of the data.
|
LabelsHandler getLabelsHandler()
default void setLabels(String... labels)
labels
- array of labelsdefault void setLabels(List<String> labels)
labels
- list of labelsdefault void setLabels(Labels labels)
labels
- labels object to manage also multi-line labelsdefault Labels getLabels()
default Labels getLabels(boolean binding)
binding
- if true
binds the new labels in the container