Interface DonutOptions.Builder

  • Method Details

    • arcOptions

      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

      Parameters:
      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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arcOptions

      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

      This is a convenience method that creates an instance of the 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).

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

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • donutCenterOptions

      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 the DonutCenterOptions.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).

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