ChartSquarePoint
Inherits: ChartPointShape
Draws a square.
Properties
-
color(Optional[ColorValue]) –The fill color to use for the square.
-
size(Number) –The size of the square.
-
stroke_color(Optional[ColorValue]) –The stroke color to use for the square.
-
stroke_width(Number) –The stroke width to use for the square.
Methods
-
copy–Returns a copy of this object with the specified properties overridden.
Properties#
color
class-attribute
instance-attribute
#
color: Optional[ColorValue] = None
The fill color to use for the square.
stroke_color
class-attribute
instance-attribute
#
stroke_color: Optional[ColorValue] = None
The stroke color to use for the square.
stroke_width
class-attribute
instance-attribute
#
stroke_width: Number = 1.0
The stroke width to use for the square.
Methods#
copy
#
copy(
*,
color: Optional[ColorValue] = None,
size: Optional[Number] = None,
stroke_color: Optional[ColorValue] = None,
stroke_width: Optional[Number] = None,
) -> ChartSquarePoint
Returns a copy of this object with the specified properties overridden.