public class ItemPartialFill extends AbstractConfigurationObject
DataSeriesItemXrange
.
Typically used to visualize how much of a task is performed.Constructor and Description |
---|
ItemPartialFill()
Creates an empty PartialFill configuration object
|
ItemPartialFill(Number amount)
Creates a new PartialFill with the defined fill amount
|
ItemPartialFill(Number amount,
Color fill)
Creates a new PartialFill with the defined fill color and amount
|
Modifier and Type | Method and Description |
---|---|
Number |
getAmount() |
Color |
getFill() |
void |
setAmount(Number amount)
The amount of the xrange point to be filled.
|
void |
setFill(Color fill)
The fill color to be used for partial fills.
|
public ItemPartialFill()
public ItemPartialFill(Number amount)
amount
- The amount of the xrange point to be filled.public Color getFill()
setFill(Color)
public void setFill(Color fill)
null
, a
darker shade of the point's color is used.fill
- color to be used for partial fillspublic Number getAmount()
setAmount(Number)
public void setAmount(Number amount)
amount
- Copyright © 2021. All rights reserved.