Skip to content

charton API


charton API / @chart-on/core / index / WatermarkLine

Interface: WatermarkLine ​

Defined in: packages/core/src/watermark.ts:31

One line of watermark text. A plain string uses the watermark's fontSize.

Properties ​

size? ​

optional size?: number

Defined in: packages/core/src/watermark.ts:34

Font size in css px; defaults to the watermark's fontSize.


text ​

text: string

Defined in: packages/core/src/watermark.ts:32


weight? ​

optional weight?: string | number

Defined in: packages/core/src/watermark.ts:36

CSS font weight, e.g. 400 or 'bold'. Defaults to 600.