• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

LinearRangesComponent

A collection of one or more LinearGauge scale ranges (more information and example).

import { Component } from '@angular/core';

@Component({
    selector: 'my-app',
    template: `
        <kendo-lineargauge>
            <kendo-lineargauge-scale>
                <kendo-lineargauge-scale-ranges>
                    <kendo-lineargauge-scale-range *ngFor="let range of ranges"
                        [from]="range.from" [to]="range.to" [color]="range.color">
                    </kendo-lineargauge-scale-range>
                </kendo-lineargauge-scale-ranges>
            </kendo-lineargauge-scale>
        </kendo-lineargauge>
    `
})
export class AppComponent {
    public ranges: any[] = [{
        from: 0,
        to: 15,
        color: '#ffd246'
    }, {
        from: 15,
        to: 30,
        color: '#28b4c8'
    }, {
        from: 30,
        to: 50,
        color: '#78d237'
    }];
}

Selector

kendo-lineargauge-scale-ranges

In this article

Not finding the help you need?