Skip to content

ChartSquarePoint

Inherits: ChartPointShape

Draws a square.

Properties

Methods

  • copy

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

Properties#

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.

Methods#

copy #

copy(
    *,
    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.