Search results

Static Functions API in JavaScript Linear Gauge API control

Root static functions of LinearGauge Component

getMousePosition

Function to get the mouse position

Parameter Type Description
pageX number Specifies the horizontal position of the click event.
pageY number Specifies the vertical position of the click event.
element Element Specifies the target element of the client event.

Returns GaugeLocation

triggerDownload

To trigger the download element

Parameter Type Description
fileName string Specifies the name of the exported file.
type string Specifies the extension type of the file to which the Linear Gauge must be exported.
url string Specifies the blob URL of the exported file of Linear Gauge.
isDownload boolean Specifies whether the exported file must be downloaded or not.

Returns void