Skip to content

ChartPointLine

Defines style of a line.

Properties

Methods

  • copy

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

Properties#

color class-attribute instance-attribute #

color: ColorValue | None = None

The line's color.

dash_pattern class-attribute instance-attribute #

dash_pattern: list[int] | None = None

The line's dash pattern.

gradient class-attribute instance-attribute #

gradient: Gradient | None = None

The line's gradient.

width class-attribute instance-attribute #

width: Number = 2

The line's width.

Methods#

copy #

copy(
    *,
    color: ColorValue | None = None,
    width: Number | None = None,
    dash_pattern: list[int] | None = None,
    gradient: Gradient | None = None,
) -> ChartPointLine

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