/*! * * Wijmo Library 5.20251.40 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.angular.gauge} * AngularJS directives for wijmo.gauge module */ /** * */ export declare var ___keepComment: any; import { WjDirective } from 'wijmo/wijmo.angular.base'; import * as wjcGauge from 'wijmo/wijmo.gauge'; /** * Angular module name, which can be used in the angular.module(moduleName) * function to obtain a reference to the module . */ export declare const ngModuleName = "wj.gauge"; export declare class WjGauge extends WjDirective { constructor(); readonly _controlConstructor: typeof wjcGauge.Gauge; } /** * AngularJS directive for the {@link LinearGauge} control. * * Use the wj-linear-gauge directive to add linear gauges to your AngularJS applications. * Note that directive and parameter names must be formatted in lower-case with dashes * instead of camel-case. For example: * *
<wj-linear-gauge * value="ctx.gauge.value" * show-text="Value" * is-read-only="false"> * <wj-range * wj-property="pointer" * thickness="0.2"> * <wj-range * min="0" * max="33" * color="green"> * </wj-range> * <wj-range * min="33" * max="66" * color="yellow"> * </wj-range> * <wj-range * min="66" * max="100" * color="red"> * </wj-range> * </wj-range> * </wj-linear-gauge>* * The wj-linear-gauge directive supports the following attributes: * *
@
Binds the control's value property using the ng-model Angular
* directive. Binding the property using the ng-model directive provides standard benefits
* like validation, adding the control's state to the form instance, and so on. To redefine
* properties on a control that is bound by the ng-model directive, use the wj-model-property
* attribute.@
Specifies a control property that is bound to a scope using the
* ng-model directive.=
A reference to the {@link LinearGauge}
* control created by this directive.@
The {@link GaugeDirection} value in
* which the gauge fills as the value grows.@
The format string used for displaying
* the gauge values as text.@
A value indicating whether the gauge
* displays a shadow effect.&
This event occurs after the binding has finished
* initializing the control with attribute values.=
A value indicating whether the binding has finished
* initializing the control with attribute values. @
A value indicating whether the gauge
* animates value changes.@
A value indicating whether users are
* prevented from editing the value.@
The minimum value that the gauge
* can display.@
The maximum value that the gauge
* can display.@
The {@link ShowText} value indicating
* which values display as text within the gauge.@
The amount to add or subtract to the value
* property when the user presses the arrow keys.@
The thickness of the gauge, on a scale
* of zero to one.=
The value displayed on the gauge.&
The {@link LinearGauge.gotFocus} event handler.&
The {@link LinearGauge.lostFocus} event handler.<wj-bullet-graph * value="ctx.gauge.value" * min="0" max="10" * target="{{item.target}}" * bad="{{item.target * .75}}" * good="{{item.target * 1.25}}"> * </wj-bullet-graph>* * The wj-bullet-graph directive supports the following attributes: * *
=
A reference to the BulletGraph control
* created by this directive.@
The {@link GaugeDirection} value
* indicating which direction the gauge fills as the value grows.&
This event occurs after the binding has finished
* initializing the control with attribute values.=
A value indicating whether the binding has finished
* initializing the control with attribute values. @
The target value for the measure.@
A reference value considered good for the
* measure.@
A reference value considered bad for the
* measure.=
The actual value of the measure.Here is a <b>RadialGauge</b> control:</p> * <wj-radial-gauge * style="height:300px" * value="count" * min="0" max="10" * is-read-only="false"> * </wj-radial-gauge>* * The wj-radial-gauge directive supports the following attributes: * *
@
Binds the control's value property using the ng-model Angular
* directive. Binding the property using the ng-model directive provides standard benefits
* like validation, adding the control's state to the form instance, and so on. To redefine
* properties on a control that is bound by the ng-model directive, use the wj-model-property
* attribute.@
Specifies a control property that is bound to a scope using the
* ng-model directive.=
A reference to the RadialGauge
* control created by this directive.@
A value indicating whether the gauge
* scales the display to fill the host element.@
The format string used for displaying
* gauge values as text.@
A value indicating whether the gauge
* displays a shadow effect.&
This event occurs after the binding has finished
* initializing the control with attribute values.=
A value indicating whether the binding has finished
* initializing the control with attribute values. @
A value indicating whether the gauge
* animates value changes.@
A value indicating whether users are
* prevented from editing the value.@
The minimum value that the gauge
* can display.@
The maximum value that the gauge
* can display.@
A {@link ShowText} value indicating
* which values display as text within the gauge.@
The amount to add or subtract to the
* value property when the user presses the arrow keys.@
The starting angle for the gauge, in
* degreees, measured clockwise from the 9 o'clock position.@
The sweeping angle for the gauge in degrees
* (may be positive or negative).@
The thickness of the gauge, on a scale
* of zero to one.=
The value displayed on the gauge.&
The {@link RadialGauge.gotFocus} event handler.&
The {@link RadialGauge.lostFocus} event handler.<wj-radial-gauge * min="0" * max="200" * step="20" * value="theValue" * is-read-only="false"> * <wj-range * min="0" * max="100" * color="red"> * </wj-range> * <wj-range * min="100" * max="200" * color="green"> * </wj-range> * <wj-range * wj-property="pointer" * color="blue"> * </wj-range> * </wj-radial-gauge>* * The wj-range directive supports the following attributes: * *
@
The minimum value in the range.@
The maximum value in the range.@
The color used to display the range.@
The thickness of the range, on a scale
* of zero to one.@
The name of the range.@
The name of the property to initialize
* with this directive.