Class PartialFill
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.PartialFill
-
- All Implemented Interfaces:
Serializable
public class PartialFill extends AbstractConfigurationObject
PartialFill configuration object to be used inPlotOptionsXrange
. Typically used to visualize how much of a task is performed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartialFill()
Creates an empty PartialFill configuration objectPartialFill(Color fill)
Creates a new PartialFill with the defined fill color
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getFill()
void
setFill(Color fill)
The fill color to be used for partial fills.
-
-
-
Constructor Detail
-
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 Detail
-
getFill
public Color getFill()
- Returns:
- the color used for partial fills
- See Also:
setFill(Color)
-
setFill
public void setFill(Color fill)
The fill color to be used for partial fills. Whennull
, a darker shade of the point's color is used.- Parameters:
fill
- color to be used for partial fills
-
-