public static interface ColorScale.Builder extends SdkPojo, CopyableBuilder<ColorScale.Builder,ColorScale>
| Modifier and Type | Method and Description |
|---|---|
ColorScale.Builder |
colorFillType(ColorFillType colorFillType)
Determines the color fill type.
|
ColorScale.Builder |
colorFillType(String colorFillType)
Determines the color fill type.
|
ColorScale.Builder |
colors(Collection<DataColor> colors)
Determines the list of colors that are applied to the visual.
|
ColorScale.Builder |
colors(Consumer<DataColor.Builder>... colors)
Determines the list of colors that are applied to the visual.
|
ColorScale.Builder |
colors(DataColor... colors)
Determines the list of colors that are applied to the visual.
|
default ColorScale.Builder |
nullValueColor(Consumer<DataColor.Builder> nullValueColor)
Determines the color that is applied to null values.
|
ColorScale.Builder |
nullValueColor(DataColor nullValueColor)
Determines the color that is applied to null values.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildColorScale.Builder colors(Collection<DataColor> colors)
Determines the list of colors that are applied to the visual.
colors - Determines the list of colors that are applied to the visual.ColorScale.Builder colors(DataColor... colors)
Determines the list of colors that are applied to the visual.
colors - Determines the list of colors that are applied to the visual.ColorScale.Builder colors(Consumer<DataColor.Builder>... colors)
Determines the list of colors that are applied to the visual.
This is a convenience method that creates an instance of theDataColor.Builder avoiding the need to create one
manually via DataColor.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #colors(List.
colors - a consumer that will call methods on
DataColor.Builder#colors(java.util.Collection) ColorScale.Builder colorFillType(String colorFillType)
Determines the color fill type.
colorFillType - Determines the color fill type.ColorFillType,
ColorFillTypeColorScale.Builder colorFillType(ColorFillType colorFillType)
Determines the color fill type.
colorFillType - Determines the color fill type.ColorFillType,
ColorFillTypeColorScale.Builder nullValueColor(DataColor nullValueColor)
Determines the color that is applied to null values.
nullValueColor - Determines the color that is applied to null values.default ColorScale.Builder nullValueColor(Consumer<DataColor.Builder> nullValueColor)
Determines the color that is applied to null values.
This is a convenience method that creates an instance of theDataColor.Builder avoiding the need to
create one manually via DataColor.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to nullValueColor(DataColor).
nullValueColor - a consumer that will call methods on DataColor.BuildernullValueColor(DataColor)Copyright © 2023. All rights reserved.