Skip to main content
Version: 3.8

Interface: WatermarkOptions

Watermark options.

Properties

color

color: string

Watermark color.

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


visible

visible: boolean

Display the watermark.

defaultvalue false


text

text: string

Text of the watermark. Word wrapping is not supported.

defaultvalue ''


fontSize

fontSize: number

Font size in pixels.

defaultvalue 48


fontFamily

fontFamily: string

Font family.

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


fontStyle

fontStyle: string

Font style.

defaultvalue ''


horzAlign

horzAlign: HorzAlign

Horizontal alignment inside the chart area.

defaultvalue 'center'


vertAlign

vertAlign: VertAlign

Vertical alignment inside the chart area.

defaultvalue 'center'