Skip to main content
Version: 3.8

Interface: LineStyleOptions

Represents style options for a line series.

Properties​

color​

color: string

Line color.

Default Value​

'#2196f3'


lineStyle​

lineStyle: LineStyle

Line style.

Default Value​

{@link LineStyle.Solid}

lineWidth​

lineWidth: LineWidth

Line width in pixels.

Default Value​

3


lineType​

lineType: LineType

Line type.

Default Value​

{@link LineType.Simple}

crosshairMarkerVisible​

crosshairMarkerVisible: boolean

Show the crosshair marker.

Default Value​

true


crosshairMarkerRadius​

crosshairMarkerRadius: number

Crosshair marker radius in pixels.

Default Value​

4


crosshairMarkerBorderColor​

crosshairMarkerBorderColor: string

Crosshair marker border color. An empty string falls back to the the color of the series under the crosshair.

Default Value​

''


crosshairMarkerBackgroundColor​

crosshairMarkerBackgroundColor: string

The crosshair marker background color. An empty string falls back to the the color of the series under the crosshair.

Default Value​

''


lastPriceAnimation​

lastPriceAnimation: LastPriceAnimationMode

Last price animation mode.

Default Value​

{@link LastPriceAnimationMode.Disabled}