GaugeColorCenterByQuality

This property controls whether the state of the quality band is reflected in the center of the gauge needle. When enabled, the center of the needle is colored the same color as the quality band the Gauge needle is pointing to. This is useful to provide an instant status of the quality bands. When disabled, the center of the needle is drawn with the default styling.

Syntax:

setGaugeColorCenterByQuality(boolean);
boolean =getGaugeColorCenterByQuality();

where:

boolean

Can be one of the following:

true colors the center of the needle the same as the quality band that the Gauge needle is pointing to.

false draws the center with default styling. This value is the default.

Example:

In the following example, GaugeColorCenterByQuality is enabled (true), so the center of the needle is red because the needle is pointing to a red quality band:

setGaugeColorCenterByQuality(true);

In the following example, GaugeColorCenterByQuality is disabled (false), so the center of the needle is the default color:

setGaugeColorCenterByQuality(false);


WebFOCUS