Skip to main content
Version: 4.1

Interface: AreaStyleOptions

Represents style options for an area series.

Properties

topColor

topColor: string

Color of the top part of the area.

Default Value

'rgba( 46, 220, 135, 0.4)'


bottomColor

bottomColor: string

Color of the bottom part of the area.

Default Value

'rgba( 40, 221, 100, 0)'


invertFilledArea

invertFilledArea: boolean

Invert the filled area. Fills the area above the line if set to true.

Default Value

false


lineColor

lineColor: string

Line color.

Default Value

'#33D778'


lineStyle

lineStyle: LineStyle

Line style.

Default Value

Solid


lineWidth

lineWidth: LineWidth

Line width in pixels.

Default Value

3


lineType

lineType: LineType

Line type.

Default Value

Simple


lineVisible

lineVisible: boolean

Show series line.

Default Value

true


pointMarkersVisible

pointMarkersVisible: boolean

Show circle markers on each point.

Default Value

false


pointMarkersRadius

Optional pointMarkersRadius: number

Circle markers radius in pixels.

Default Value

undefined


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 color of the series under the crosshair.

Default Value

''


crosshairMarkerBackgroundColor

crosshairMarkerBackgroundColor: string

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

Default Value

''


crosshairMarkerBorderWidth

crosshairMarkerBorderWidth: number

Crosshair marker border width in pixels.

Default Value

2


lastPriceAnimation

lastPriceAnimation: LastPriceAnimationMode

Last price animation mode.

Default Value

Disabled