Exporting the Digital Gauge in EJ 1 ASP.NET MVC DigitalGauge
18 Nov 2017 / 1 minute to read
Digital Gauge has an exporting feature where Gauge control is converted into image format and then exported to client-side. The method API exportImage
exports the Digital Gauge. It has two arguments such as filename and file format. For exporting, you can refer the following code example.
// For Digital Gauge rendering
@(Html.EJ().DigitalGauge("DigitalGauge1")
// For setting text
.Value("Syncfusion"))
<script>
$("#DigitalGauge1").ejDigitalGauge("exportImage", "Digital", "PNG");
<script/>
Execute the above code examples to render the DigitalGauge as follows.
Digital Gauge control with Export functionality
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page