public final class DataLabelsOptionsBuilder extends AbstractBuilder<DataLabelsOptions>
DataLabelsPlugin.ID
plugin options by a builder.Modifier and Type | Method and Description |
---|---|
DataLabelsOptions |
build()
Returns a configured labels options.
|
static DataLabelsOptionsBuilder |
create()
Returns new builder instance.
|
static DataLabelsOptionsBuilder |
create(IsChart chart)
Returns new builder instance using the chart global options.
|
LabelItemBuilder |
createLabel(DataLabelId id)
Returns new options builder for new label identified by id.
|
LabelItemBuilder |
createLabel(String id)
Returns new options builder for new label identified by id.
|
LabelItemBuilder |
getLabel(DataLabelId id)
Returns the options builder for label identified by id
|
LabelItemBuilder |
getLabel(String id)
Returns the options builder for label identified by id.
|
getOptionsBuilder, setAlign, setAlign, setAlign, setAnchor, setAnchor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderRadius, setBorderRadius, setBorderWidth, setBorderWidth, setClamp, setClamp, setClickEventHandler, setClip, setClip, setColor, setColor, setColor, setDisplay, setDisplay, setDisplay, setEnterEventHandler, setFont, setFontFamily, setFontLineHeight, setFontLineHeight, setFontSize, setFontStyle, setFontWeight, setFormatter, setLeaveEventHandler, setListenersHandler, setOffset, setOffset, setOpacity, setOpacity, setPadding, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setRotation, setRotation, setTextAlign, setTextAlign, setTextShadowBlur, setTextShadowBlur, setTextShadowColor, setTextShadowColor, setTextShadowColor, setTextStrokeColor, setTextStrokeColor, setTextStrokeColor, setTextStrokeWidth, setTextStrokeWidth
isBuilt, setBuilt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkAndGetIfValid, checkIfValid, isValid
public static DataLabelsOptionsBuilder create()
public static DataLabelsOptionsBuilder create(IsChart chart)
chart
- chart instance related to the plugin optionspublic DataLabelsOptions build()
public LabelItemBuilder createLabel(String id)
id
- id of the new label itempublic LabelItemBuilder createLabel(DataLabelId id)
id
- id of the new label itempublic LabelItemBuilder getLabel(String id)
id
- id of the optionspublic LabelItemBuilder getLabel(DataLabelId id)
id
- id of the options