Skip to main content

ChartPointLine

Defines style of a line.

Properties

Methods

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

Properties

colorclass-attributeinstance-attribute

color: ColorValue | None = None

The line's color.

dash_patternclass-attributeinstance-attribute

dash_pattern: list[int] | None = None

The line's dash pattern.

gradientclass-attributeinstance-attribute

gradient: Gradient | None = None

The line's gradient.

widthclass-attributeinstance-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.