New to Kendo UI for jQueryStart a free 30-day trial

Exports the Gauge as an image. The result can be saved using kendo.saveAs.

The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.

Parameters:options.widthString

Parameters for the exported image.

options.heightString

The width of the exported image. Defaults to the Gauge width.

Returns:Promise

A promise that will be resolved with a PNG image encoded as a Data URI.

<div id="gauge"></div>
<script>
    $("#gauge").kendoArcGauge({
        value: 50
    });

    var gauge = $("#gauge").data("kendoArcGauge");
    gauge.exportImage().done(function(data) {
        kendo.saveAs({
            dataURI: data,
            fileName: "gauge.png"
        });
    });
</script>
Not finding the help you need?
Contact Support