ASP.NET Core MVC Controls | ComponentOne
In This Topic
    Range Class
    In This Topic
    File
    wijmo.gauge.js
    Module
    wijmo.gauge

    Defines ranges to be used with Gauge controls.

    Range objects have min and max properties that define the range's domain, as well as color and thickness properties that define the range's appearance.

    Every Gauge control has at least two ranges: the 'face' defines the minimum and maximum values for the gauge, and the 'pointer' displays the gauge's current value.

    In addition to the built-in ranges, gauges may have additional ranges used to display regions of significance (for example, low, medium, and high values).

    Constructor

    Properties

    Methods

    Events

    Constructor

    constructor

    constructor(options?: any): Range
    

    Initializes a new instance of the Range class.

    Parameters
    • options: any
    Optional

    Initialization options for the Range or a string containing the Range name.

    Returns
    Range

    Properties

    color

    Gets or sets the color used to display this range.

    Type
    string

    max

    Gets or sets the maximum value for this range.

    Type
    number

    min

    Gets or sets the minimum value for this range.

    Type
    number

    name

    Gets or sets the name of this Range.

    Type
    string

    thickness

    Gets or sets the thickness of this range as a percentage of the parent gauge's thickness.

    Type
    number

    Methods

    onPropertyChanged

    onPropertyChanged(e: PropertyChangedEventArgs): void
    

    Raises the propertyChanged event.

    Parameters
    Returns
    void

    Events

    propertyChanged

    Occurs when the value of a property in this Range changes.

    Arguments
    PropertyChangedEventArgs