LEDGauge Class Properties
These properties are used by the LEDGauge class. The properties are described in alphabetic order.
Description
This property has been desupported and is ignored.
Description
Note: The AnimationDuration property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The AnimationType property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Use this property to specify a Float value indicating the height of the chart as a proportion of its width.
If the aspect ratio is not defined, a default value of 1 is used on fluid pages.
Note: AspectRatio is ignored on classic pages; instead, the height is determined by the height of the chart page control defined in Application Designer or by the Height and Width properties.
This property is read/write.
Example
&lGauge.AspectRatio = 0.8;
Description
Note: The BottomLabel property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The BottomLabelPosition property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The GaugeDecimalDigit property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The GaugeURL property is no longer used in PeopleTools 8.57 and will be ignored.
Description
On a classic page, use this property to specify a Number value indicating the height of the gauge in pixels.
Note: On a fluid page, the combination of the AspectRatio, Height, and Width properties are used to determine the size of the gauge.
This property is read/write.
Description
Use this property to retrieve the HTML string required to render the chart within an HTML area on the page. This is useful for rendering a chart on a page that does not have a Chart control but has an HTML area control, or for rendering charts on a tile that uses a content type of HTML area.
Use the CreateObject function, rather than the GetLEDGauge function, to instantiate the chart object when intending to use this property.
Note: On a fluid page, the combination of the AspectRatio, Height, and Width properties is used to determine the dimensions of the chart rendered via the returned HTML. If you don't specify these properties, the chart's dimensions automatically fit within the containing element.
This property is read-only.
Example
Local LedGauge &oChart;
&oChart = CreateObject("LedGauge");
&oChart.Value = 78;
&oChart.Type = %GaugeType_LED_Arrow;
&oChart.Width = 200;
&oChart.Height = 300;
&oChart.MetricLabelType = %Percent;
rem set the HTML area control field value to Chart HTML;
QE_DYNCHART_WRK.QE_HTMLAREA = &oChart.Html;
Description
Note: The IsDrillable property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The LegendPosition property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The MajorTickIncrement property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The MetricLabelType property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The TopLabel property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Note: The TopLabelPosition property is no longer used in PeopleTools 8.57 and will be ignored.
Description
Use this property to specify the visual representation of the gauge. You can specify either an Integer or constant value for this property.
The values are:
Numeric Value |
Constant Value |
Description |
---|---|---|
26 |
%GaugeType_LED_Dot |
Display an LED gauge as a dot: ![]() Note: %GaugeType_LED_Dot is the default value. |
27 |
%GaugeType_LED_Arrow |
Display an LED gauge as an arrow: ![]() |
28 |
%GaugeType_LED_Triangle |
Display an LED gauge as a triangle: ![]() |
29 |
%GaugeType_LED_Rectangle |
Display an LED gauge as a rectangle: ![]() |
30 |
%GaugeType_LED_Square |
Display an LED gauge as a square: ![]() |
This property is read/write.
Example
In the following example, the status meter gauge is displayed horizontally.
&cLEDGauge.Type = %GaugeType_StatusMeter_Horiz;
Description
On a classic page, use this property to specify a Number value indicating the width of the gauge in pixels.
Note: On a fluid page, the combination of the AspectRatio, Height, and Width properties are used to determine the size of the gauge.
This property is read/write.