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

Class PartialFill

All Implemented Interfaces:

Serializable

public class PartialFill extends AbstractConfigurationObject

PartialFill configuration object to be used in PlotOptionsXrange. Typically used to visualize how much of a task is performed.

See Also:

  • Constructor Details

    • PartialFill

      public PartialFill()

      Creates an empty PartialFill configuration object

    • PartialFill

      public PartialFill(Color fill)

      Creates a new PartialFill with the defined fill color

      Parameters:

      fill - color to be used for partial fills

  • Method Details

    • getFill

      public Color getFill()

      Returns:

      the color used for partial fills

      See Also:

    • setFill

      public void setFill(Color fill)

      The fill color to be used for partial fills. When null, a darker shade of the point's color is used.

      Parameters:

      fill - color to be used for partial fills