Skip to content

ChartSquarePoint

ChartSquarePoint #

Bases: ChartPointShape

Draws a square.

color #

color: ColorValue | None = None

The fill color to use for the square.

size #

size: Number = 4.0

The size of the square.

stroke_color #

stroke_color: ColorValue | None = None

The stroke color to use for the square.

stroke_width #

stroke_width: Number = 1.0

The stroke width to use for the square.

copy_with #

copy_with(
    *,
    color: ColorValue | None = None,
    size: Number | None = None,
    stroke_color: ColorValue | None = None,
    stroke_width: Number | None = None,
) -> ChartSquarePoint

Returns a copy of this object with the specified properties overridden.