New to Kendo UI for Vue? Start a free 30-day trial

Represents the props of the Kendo UI for Vue CircularGauge component.

Definition

Package:@progress/kendo-vue-gauges

Properties

Sets a template that renders the center of the Gauge.

Example:
vue
<ArcGauge :value="65" :center-render="'centerTemplate'" />

color?

string

Sets the color of the value pointer. Accepts a valid CSS color string, including hex and rgb.

Example:
vue
<ArcGauge :value="65" :color="'#28b4c8'" />

Sets the color ranges of the value pointer (see example).

Example:
vue
<CircularGauge :value="65" :colors="[{ to: 50, color: 'green' }, { from: 50, color: 'red' }]" />

dir?

string

Sets the dir HTML attribute of the Gauge.

Example:
vue
<RadialGauge :pointer="{ value: 40 }" :dir="'rtl'" />

onRender?

(event: any) => void

Fires when the Gauge renders.

Parameters:eventany

opacity?

number

Sets the opacity of the value pointer.

Example:
vue
<ArcGauge :value="65" :opacity="0.7" />

pointer?

object

renderAs?

string

Sets the preferred rendering engine. If the browser does not support it, the Gauge switches to the first available mode.

The supported values are:

  • "svg"—If available, renders the component as an inline .svg file.
  • "canvas"—If available, renders the component as a canvas element.
Default:

'svg'

Example:
vue
<RadialGauge :pointer="{ value: 40 }" :render-as="'canvas'" />

Sets the scale options of the CircularGauge.

Example:
vue
<CircularGauge :value="65" :scale="{ min: 0, max: 200 }" />

When set to true, the Gauge plays animations when it shows the series. By default, the Gauge plays animations.

Example:
vue
<RadialGauge :pointer="{ value: 40 }" :transitions="false" />

value

number

Sets the value of the Gauge.

Example:
vue
<ArcGauge :value="65" />