Skip to main content
Version: 3.8

Interface: WatermarkOptions

Watermark options.

Properties

color

color: string

Watermark color.

Default Value

'rgba(0, 0, 0, 0)'


visible

visible: boolean

Display the watermark.

Default Value

false


text

text: string

Text of the watermark. Word wrapping is not supported.

Default Value

''


fontSize

fontSize: number

Font size in pixels.

Default Value

48


fontFamily

fontFamily: string

Font family.

Default Value

'Trebuchet MS', Roboto, Ubuntu, sans-serif


fontStyle

fontStyle: string

Font style.

Default Value

''


horzAlign

horzAlign: HorzAlign

Horizontal alignment inside the chart area.

Default Value

'center'


vertAlign

vertAlign: VertAlign

Vertical alignment inside the chart area.

Default Value

'center'