Skip to main content
Version: v24

Interface: WatermarkLine

Charting Library.WatermarkLine

Defines the text and font properties for a line of the watermark.

The default values for sizing and placement are as follows:

  • 1st line: { fontSize: 96, lineHeight: 117, vertOffset: 0, }
  • 2nd line: { fontSize: 48, lineHeight: 58, vertOffset: 5, }

Properties

PropertyType
textstring
fontSizenumber
lineHeightnumber
vertOffsetnumber

text

Text to be displayed.

Signature

 text: string

Type

string


fontSize

Font size to be used (defined in pixels).

Signature

 fontSize: number

Type

number


lineHeight

Line height (defined in pixels).

Signature

 lineHeight: number

Type

number


vertOffset

Vertical offset distance (defined in pixels).

Signature

 vertOffset: number

Type

number