Skip to main content
Version: 3.8

Interface: LineStyleOptions

Represents style options for a line series.

Properties

color

color: string

Line color.

defaultvalue '#2196f3'


lineStyle

lineStyle: LineStyle

Line style.

defaultvalue LineStyle.Solid


lineWidth

lineWidth: LineWidth

Line width in pixels.

defaultvalue 3


lineType

lineType: LineType

Line type.

defaultvalue LineType.Simple


crosshairMarkerVisible

crosshairMarkerVisible: boolean

Show the crosshair marker.

defaultvalue true


crosshairMarkerRadius

crosshairMarkerRadius: number

Crosshair marker radius in pixels.

defaultvalue 4


crosshairMarkerBorderColor

crosshairMarkerBorderColor: string

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

defaultvalue ''


crosshairMarkerBackgroundColor

crosshairMarkerBackgroundColor: string

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

defaultvalue ''


lastPriceAnimation

lastPriceAnimation: LastPriceAnimationMode

Last price animation mode.

defaultvalue LastPriceAnimationMode.Disabled