When creating a new IndividualPointFill object from scratch, the parameters can be passed like follows:
Optional object containing parameters for creation of IndividualPointFill
Get automatically computed highlight style.
Object itself, because the Color information is stored in PointColor
Get automatically computed highlight style.
FillStyle object
Get Fallback Color of IndividualPointFill.
Color object
Construct a new IndividualPointFill object based on this one, but with a modified Fallback Color.
Example usage:
Desired result | Argument |
---|---|
Specified Fallback Color | ColorHex('#F00') |
Changed transparency | (color) => color.setA(80) |
New IndividualPointFill object
Unlike other types in Immutable.js, the Record()
function creates a new
Record Factory, which is a function that creates Record instances.
See above for examples of using Record()
.
Note: Record
is a factory function and not a class, and does not use the
new
keyword during construction.
Class for enabling individual fill style for point-based Series.
When this is selected as fill style, the Series will allow using PointColors instead of normal *Points when adding data. If *Point is still used, the configurable Fallback Color is used.
Instances of IndividualPointFill are immutable, meaning that its setters don't modify the object, but instead return a completely new modified object.
When creating a new IndividualPointFill object from scratch, parameters can be passed like follows: