Skip to main content
Version: 3.8

Interface: BaselineStyleOptions

Represents style options for a baseline series.

Properties​

baseValue​

baseValue: BaseValuePrice

Base value of the series.

Default Value​

{ type: 'price', price: 0 }


topFillColor1​

topFillColor1: string

The first color of the top area.

Default Value​

'rgba(38, 166, 154, 0.28)'


topFillColor2​

topFillColor2: string

The second color of the top area.

Default Value​

'rgba(38, 166, 154, 0.05)'


topLineColor​

topLineColor: string

The line color of the top area.

Default Value​

'rgba(38, 166, 154, 1)'


bottomFillColor1​

bottomFillColor1: string

The first color of the bottom area.

Default Value​

'rgba(239, 83, 80, 0.05)'


bottomFillColor2​

bottomFillColor2: string

The second color of the bottom area.

Default Value​

'rgba(239, 83, 80, 0.28)'


bottomLineColor​

bottomLineColor: string

The line color of the bottom area.

Default Value​

'rgba(239, 83, 80, 1)'


lineWidth​

lineWidth: LineWidth

Line width.

Default Value​

3


lineStyle​

lineStyle: LineStyle

Line style.

Default Value​

{@link LineStyle.Solid}

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}