Interface: IWatermarkApi
Charting Library.IWatermarkApi
An API object used to change the settings of the watermark.
Methods
Property | Type |
---|---|
color | () => IWatchedValue<string> |
visibility | () => IWatchedValue<boolean> |
setContentProvider | (provider: WatermarkContentProvider) => void |
color
Object that can be used to read/set/watch the color of the watermark text.
Signature
color() => IWatchedValue<string>
Returns
IWatchedValue<string>
visibility
Object that can be used to read/set/watch the visibility of the watermark.
Signature
visibility() => IWatchedValue<boolean>
Returns
IWatchedValue<boolean>
setContentProvider
Set a custom content provider for the watermark content.
Signature
setContentProvider(provider: WatermarkContentProvider) => void
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