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: Optional[ColorValue] = None

The line's color.

dash_patternclass-attributeinstance-attribute

dash_pattern: Optional[list[int]] = None

The line's dash pattern.

gradientclass-attributeinstance-attribute

gradient: Optional[Gradient] = None

The line's gradient.

widthclass-attributeinstance-attribute

width: Number = 2

The line's width.

Methods

copy

copy(color: Optional[ColorValue] = None, width: Optional[Number] = None, dash_pattern: Optional[list[int]] = None, gradient: Optional[Gradient] = None)

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