public static interface LegendOptions.Builder extends SdkPojo, CopyableBuilder<LegendOptions.Builder,LegendOptions>
| Modifier and Type | Method and Description |
|---|---|
LegendOptions.Builder |
height(String height)
The height of the legend.
|
LegendOptions.Builder |
position(LegendPosition position)
The positions for the legend.
|
LegendOptions.Builder |
position(String position)
The positions for the legend.
|
default LegendOptions.Builder |
title(Consumer<LabelOptions.Builder> title)
The custom title for the legend.
|
LegendOptions.Builder |
title(LabelOptions title)
The custom title for the legend.
|
LegendOptions.Builder |
visibility(String visibility)
Determines whether or not the legend is visible.
|
LegendOptions.Builder |
visibility(Visibility visibility)
Determines whether or not the legend is visible.
|
LegendOptions.Builder |
width(String width)
The width of the legend.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLegendOptions.Builder visibility(String visibility)
Determines whether or not the legend is visible.
visibility - Determines whether or not the legend is visible.Visibility,
VisibilityLegendOptions.Builder visibility(Visibility visibility)
Determines whether or not the legend is visible.
visibility - Determines whether or not the legend is visible.Visibility,
VisibilityLegendOptions.Builder title(LabelOptions title)
The custom title for the legend.
title - The custom title for the legend.default LegendOptions.Builder title(Consumer<LabelOptions.Builder> title)
The custom title for the legend.
This is a convenience method that creates an instance of theLabelOptions.Builder avoiding the need
to create one manually via LabelOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to title(LabelOptions).
title - a consumer that will call methods on LabelOptions.Buildertitle(LabelOptions)LegendOptions.Builder position(String position)
The positions for the legend. Choose one of the following options:
AUTO
RIGHT
BOTTOM
LEFT
position - The positions for the legend. Choose one of the following options:
AUTO
RIGHT
BOTTOM
LEFT
LegendPosition,
LegendPositionLegendOptions.Builder position(LegendPosition position)
The positions for the legend. Choose one of the following options:
AUTO
RIGHT
BOTTOM
LEFT
position - The positions for the legend. Choose one of the following options:
AUTO
RIGHT
BOTTOM
LEFT
LegendPosition,
LegendPositionLegendOptions.Builder width(String width)
The width of the legend. If this value is omitted, a default width is used when rendering.
width - The width of the legend. If this value is omitted, a default width is used when rendering.LegendOptions.Builder height(String height)
The height of the legend. If this value is omitted, a default height is used when rendering.
height - The height of the legend. If this value is omitted, a default height is used when rendering.Copyright © 2023. All rights reserved.