Interface DataLabelOptions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DataLabelOptions.Builder,DataLabelOptions>, SdkBuilder<DataLabelOptions.Builder,DataLabelOptions>, SdkPojo
Enclosing class:
DataLabelOptions

public static interface DataLabelOptions.Builder extends SdkPojo, CopyableBuilder<DataLabelOptions.Builder,DataLabelOptions>
  • Method Details

    • visibility

      DataLabelOptions.Builder visibility(String visibility)

      Determines the visibility of the data labels.

      Parameters:
      visibility - Determines the visibility of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • visibility

      DataLabelOptions.Builder visibility(Visibility visibility)

      Determines the visibility of the data labels.

      Parameters:
      visibility - Determines the visibility of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • categoryLabelVisibility

      DataLabelOptions.Builder categoryLabelVisibility(String categoryLabelVisibility)

      Determines the visibility of the category field labels.

      Parameters:
      categoryLabelVisibility - Determines the visibility of the category field labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • categoryLabelVisibility

      DataLabelOptions.Builder categoryLabelVisibility(Visibility categoryLabelVisibility)

      Determines the visibility of the category field labels.

      Parameters:
      categoryLabelVisibility - Determines the visibility of the category field labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • measureLabelVisibility

      DataLabelOptions.Builder measureLabelVisibility(String measureLabelVisibility)

      Determines the visibility of the measure field labels.

      Parameters:
      measureLabelVisibility - Determines the visibility of the measure field labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • measureLabelVisibility

      DataLabelOptions.Builder measureLabelVisibility(Visibility measureLabelVisibility)

      Determines the visibility of the measure field labels.

      Parameters:
      measureLabelVisibility - Determines the visibility of the measure field labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataLabelTypes

      DataLabelOptions.Builder dataLabelTypes(Collection<DataLabelType> dataLabelTypes)

      The option that determines the data label type.

      Parameters:
      dataLabelTypes - The option that determines the data label type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataLabelTypes

      DataLabelOptions.Builder dataLabelTypes(DataLabelType... dataLabelTypes)

      The option that determines the data label type.

      Parameters:
      dataLabelTypes - The option that determines the data label type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataLabelTypes

      DataLabelOptions.Builder dataLabelTypes(Consumer<DataLabelType.Builder>... dataLabelTypes)

      The option that determines the data label type.

      This is a convenience method that creates an instance of the DataLabelType.Builder avoiding the need to create one manually via DataLabelType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataLabelTypes(List<DataLabelType>).

      Parameters:
      dataLabelTypes - a consumer that will call methods on DataLabelType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • position

      DataLabelOptions.Builder position(String position)

      Determines the position of the data labels.

      Parameters:
      position - Determines the position of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • position

      Determines the position of the data labels.

      Parameters:
      position - Determines the position of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • labelContent

      DataLabelOptions.Builder labelContent(String labelContent)

      Determines the content of the data labels.

      Parameters:
      labelContent - Determines the content of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • labelContent

      DataLabelOptions.Builder labelContent(DataLabelContent labelContent)

      Determines the content of the data labels.

      Parameters:
      labelContent - Determines the content of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • labelFontConfiguration

      DataLabelOptions.Builder labelFontConfiguration(FontConfiguration labelFontConfiguration)

      Determines the font configuration of the data labels.

      Parameters:
      labelFontConfiguration - Determines the font configuration of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labelFontConfiguration

      default DataLabelOptions.Builder labelFontConfiguration(Consumer<FontConfiguration.Builder> labelFontConfiguration)

      Determines the font configuration of the data labels.

      This is a convenience method that creates an instance of the FontConfiguration.Builder avoiding the need to create one manually via FontConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to labelFontConfiguration(FontConfiguration).

      Parameters:
      labelFontConfiguration - a consumer that will call methods on FontConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • labelColor

      DataLabelOptions.Builder labelColor(String labelColor)

      Determines the color of the data labels.

      Parameters:
      labelColor - Determines the color of the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overlap

      DataLabelOptions.Builder overlap(String overlap)

      Determines whether overlap is enabled or disabled for the data labels.

      Parameters:
      overlap - Determines whether overlap is enabled or disabled for the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overlap

      Determines whether overlap is enabled or disabled for the data labels.

      Parameters:
      overlap - Determines whether overlap is enabled or disabled for the data labels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalsVisibility

      DataLabelOptions.Builder totalsVisibility(String totalsVisibility)

      Determines the visibility of the total.

      Parameters:
      totalsVisibility - Determines the visibility of the total.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalsVisibility

      DataLabelOptions.Builder totalsVisibility(Visibility totalsVisibility)

      Determines the visibility of the total.

      Parameters:
      totalsVisibility - Determines the visibility of the total.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: