com.vaadin.flow.component.charts.model.

Class Completed

All Implemented Interfaces:

Serializable

public class Completed extends AbstractConfigurationObject

Progress indicator, how much of the task completed

See Also:

  • Constructor Details

    • Completed

      public Completed()
    • Completed

      public Completed(Number amount)
    • Completed

      public Completed(Number amount, Color fill)
  • Method Details

    • getAmount

      public Number getAmount()

      See Also:

    • setAmount

      public void setAmount(Number amount)

      The amount of the progress indicator, ranging from 0 (not started) to 1 (finished). Defaults to 0.

      Parameters:

      amount -

    • getFill

      public Color getFill()

      See Also:

    • setFill

      public void setFill(Color fill)

      The fill of the progress indicator. Defaults to a darkened variety of the main color. The value will be ignored if the chart is in Styled mode.

      Parameters:

      fill -