public static interface DonutOptions.Builder extends SdkPojo, CopyableBuilder<DonutOptions.Builder,DonutOptions>
Modifier and Type | Method and Description |
---|---|
DonutOptions.Builder |
arcOptions(ArcOptions arcOptions)
The option for define the arc of the chart shape.
|
default DonutOptions.Builder |
arcOptions(Consumer<ArcOptions.Builder> arcOptions)
The option for define the arc of the chart shape.
|
default DonutOptions.Builder |
donutCenterOptions(Consumer<DonutCenterOptions.Builder> donutCenterOptions)
The label options of the label that is displayed in the center of a donut chart.
|
DonutOptions.Builder |
donutCenterOptions(DonutCenterOptions donutCenterOptions)
The label options of the label that is displayed in the center of a donut chart.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DonutOptions.Builder arcOptions(ArcOptions arcOptions)
The option for define the arc of the chart shape. Valid values are as follows:
WHOLE
- A pie chart
SMALL
- A small-sized donut chart
MEDIUM
- A medium-sized donut chart
LARGE
- A large-sized donut chart
arcOptions
- The option for define the arc of the chart shape. Valid values are as follows:
WHOLE
- A pie chart
SMALL
- A small-sized donut chart
MEDIUM
- A medium-sized donut chart
LARGE
- A large-sized donut chart
default DonutOptions.Builder arcOptions(Consumer<ArcOptions.Builder> arcOptions)
The option for define the arc of the chart shape. Valid values are as follows:
WHOLE
- A pie chart
SMALL
- A small-sized donut chart
MEDIUM
- A medium-sized donut chart
LARGE
- A large-sized donut chart
ArcOptions.Builder
avoiding the need to
create one manually via ArcOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to arcOptions(ArcOptions)
.
arcOptions
- a consumer that will call methods on ArcOptions.Builder
arcOptions(ArcOptions)
DonutOptions.Builder donutCenterOptions(DonutCenterOptions donutCenterOptions)
The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
donutCenterOptions
- The label options of the label that is displayed in the center of a donut chart. This option isn't
available for pie charts.default DonutOptions.Builder donutCenterOptions(Consumer<DonutCenterOptions.Builder> donutCenterOptions)
The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
This is a convenience method that creates an instance of theDonutCenterOptions.Builder
avoiding the
need to create one manually via DonutCenterOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to donutCenterOptions(DonutCenterOptions)
.
donutCenterOptions
- a consumer that will call methods on DonutCenterOptions.Builder
donutCenterOptions(DonutCenterOptions)
Copyright © 2023. All rights reserved.