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 #

color: ColorValue | None = None

The line's color.

dash_pattern #

dash_pattern: list[int] | None = None

The line's dash pattern.

gradient #

gradient: Gradient | None = None

The line's gradient.

width #

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.