public class DataLabelOptions extends Options
| Modifier and Type | Field and Description |
|---|---|
AlignHorizontal |
align
The alignment of the data label compared to the point.
|
String |
backgroundColor
The background color or gradient for the data label.
|
String |
borderColor
The border color for the data label.
|
Integer |
borderRadius
The border radius in pixels for the data label.
|
Integer |
borderWidth
The border width in pixels for the data label.
|
String |
color
The text color for the data labels.
|
Boolean |
enabled
Enable or disable the data labels.
|
String |
formatter
Callback JavaScript function to format the data label.
|
String |
overflow
How to handle overflowing labels on horizontal axis.
|
Integer |
padding
When either the borderWidth or the backgroundColor is set, this is the padding within the
box.
|
Integer |
rotation
Rotation of the labels in degrees.
|
Object |
shadow
The shadow of the box.
|
StyleOptions |
style
CSS styles for the label.
|
Integer |
x
The x position offset of the label relative to the point.
|
Integer |
y
The y position offset of the label relative to the point.
|
| Constructor and Description |
|---|
DataLabelOptions() |
public AlignHorizontal align
public String backgroundColor
public String borderColor
public Integer borderRadius
public Integer borderWidth
public String color
public Boolean enabled
@JavaScript public String formatter
public String overflow
public Integer padding
public Integer rotation
public Object shadow
public final StyleOptions style
public Integer x
public Integer y
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.