RadialGaugeComponent
Represents the Kendo UI RadialGauge component for Angular.
Definition
Package:@progress/kendo-angular-gauges
Selector:kendo-radialgauge
Export Name:Accessible in templates as #kendoRadialGaugeInstance="kendoRadialGauge"
Syntax:
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `
<kendo-radialgauge [pointer]="{ value: value }">
</kendo-radialgauge>
`
})
export class AppComponent {
public value: number = 10;
}
Inputs
Sets the configuration of the pointers. You can configure single or multiple pointers for the RadialGauge.
renderAs
"canvas" | "svg"
Specifies the output type.
resizeRateLimit
number
The maximum number of times the Gauge resizes per second.
Defaults to 10. To disable the automatic resizing, set resizeRateLimit to 0.
10
Sets the configuration of the scale. The scale defines the range, appearance, and behavior of the gauge.
transitions
boolean
Specifies if the changes will be animated.
Methods
Exports the Gauge as an image. The export operation is asynchronous and returns a promise.
The parameters for the exported image.
Returns:Promise<string>
- A promise that will be resolved with a PNG image that is encoded as a Data URI.
Exports the Gauge as an SVG document. The export operation is asynchronous and returns a promise.
The parameters for the exported file.
Returns:Promise<string>
- A promise that will be resolved with an SVG document that is encoded as a Data URI.
Exports the Gauge as a Drawing Scene.
Promise<Group>
- A promise that will be resolved with the export visual.
Detects the size of the container and redraws the Gauge.
Resizing is automatic unless you set the resizeRateLimit option to 0.