UNPKG

@progress/kendo-angular-gauges

Version:
60 lines (59 loc) 2.39 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { QueryList } from '@angular/core'; import { CollectionComponent, CollectionItemComponent } from '../base-components'; import { CollectionChangesService, ConfigurationService } from '../services'; import * as i0 from "@angular/core"; /** * Represents a collection of one or more RadialGauge scale ranges * ([more information and example]({% slug scaleranghes_radialgauge %})). * * Use this component to define multiple ranges on your RadialGauge scale. * Each range displays a colored segment that highlights specific value intervals. * * @example * ```ts * import { Component } from '@angular/core'; * * @Component({ * selector: 'my-app', * template: ` * <kendo-radialgauge> * <kendo-radialgauge-scale> * <kendo-radialgauge-scale-ranges> * <kendo-radialgauge-scale-range *ngFor="let range of ranges" * [from]="range.from" [to]="range.to" [color]="range.color"> * </kendo-radialgauge-scale-range> * </kendo-radialgauge-scale-ranges> * </kendo-radialgauge-scale> * </kendo-radialgauge> * ` * }) * export class AppComponent { * public ranges: any[] = [{ * from: 0, * to: 15, * color: '#ffd246' * }, { * from: 15, * to: 30, * color: '#28b4c8' * }, { * from: 30, * to: 50, * color: '#78d237' * }]; * } * ``` * * @remarks * Supported children components are: {@link RadialRangeComponent} */ export declare class RadialRangesComponent extends CollectionComponent { children: QueryList<CollectionItemComponent>; constructor(configurationService: ConfigurationService, collectionChangesService: CollectionChangesService); static ɵfac: i0.ɵɵFactoryDeclaration<RadialRangesComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<RadialRangesComponent, "kendo-radialgauge-scale-ranges", never, {}, {}, ["children"], never, true, never>; }