Interface: IWatermarkApi
Charting Library.IWatermarkApi
An API object used to change the settings of the watermark.
Methods
color
▸ color(): IWatchedValue
<string
>
Object that can be used to read/set/watch the color of the watermark text.
Returns
IWatchedValue
<string
>
setContentProvider
▸ setContentProvider(provider
): void
Set a custom content provider for the watermark content.
Parameters
Name | Type | Description |
---|---|---|
provider | WatermarkContentProvider | Custom watermark content provider, use null if you would like to revert back to the default content for the watermark. |
Returns
void
visibility
▸ visibility(): IWatchedValue
<boolean
>
Object that can be used to read/set/watch the visibility of the watermark.
Returns
IWatchedValue
<boolean
>