Edit this page

renderAs String

Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.

The supported values are:

  • "svg" - renders the widget as inline SVG document, if available
  • "canvas" - renders the widget as a Canvas element, if available.

Example - Render as Canvas, if supported

<div id="gauge"></div>
        renderAs: "canvas",
        value: 50
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article