public class Label extends BaseOption
Series labels are placed as close to the series as possible in a natural way, seeking to avoid other series. The goal of this feature is to make the chart more easily readable, like if a human designer placed the labels in the optimal position.
The series labels currently work with series types having a graph
or an area
.
Constructor and Description |
---|
Label() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getConnectorAllowed()
Allow labels to be placed distant to the graph if necessary, and draw a connector line to the graph.
|
Label |
setConnectorAllowed(Boolean connectorAllowed)
Allow labels to be placed distant to the graph if necessary, and draw a connector line to the graph.
|
set_hcNulledOption
public static final Label NULL
public Boolean getConnectorAllowed()
Allow labels to be placed distant to the graph if necessary, and draw a connector line to the graph. Setting this option to true may decrease the performance significantly, since the algorithm with systematically search for open spaces in the whole plot area. Visually, it may also result in a more cluttered chart, though more of the series will be labeled.
public Label setConnectorAllowed(Boolean connectorAllowed)
Allow labels to be placed distant to the graph if necessary, and draw a connector line to the graph. Setting this option to true may decrease the performance significantly, since the algorithm with systematically search for open spaces in the whole plot area. Visually, it may also result in a more cluttered chart, though more of the series will be labeled.
connectorAllowed
- the value for the connectorAllowed optionCopyright © 2022. All rights reserved.