Specifying settings for Linear gauges

When using the Specify Gauge Settings dialog box to create and configure gauges, the settings on the Linear tab are used only when the gauge type is HLinearGauge and control how these types of gauges display.

When modifying a gauge by script, use the GaugeSetProperty method or the GaugeGetProperty method to make these settings. Use the GaugeProperty enumeration.

This table lists the basic settings you can make on the Linear tab. GaugeSetProperty and GaugeGetProperty property names are also listed.

Linear tab Fields / Options Property name Description / Comments
Pointer Radius PointerRadius Specify, in pixels, the radius of the pointer.
Pointer Back Color PointerBgColor Specify the RGB value for the pointer background color, as a hexadecimal value (000000-FFFFFF).

You can double-click to display the Color dialog box, where you can select a color or define a custom color for the pointer background. The hexadecimal code displays after you click OK to exit the Color dialog box.

To use a gradient fill, specify all the colors required for the gradient fill, separated by commas.

Pointer Back Alpha PointerBgAlpha For each color you specified for the Pointer Back Color, specify the transparency of the background, from  0 (transparent) to 100 (opaque).

Where multiple values are used for gradients, separate the alpha values by commas.

Pointer Sides PointerSides Specify the number of sides for the pointer.
Pointer Border Color PointerBorderColor Specify the RGB value for the pointer border color, as a hexadecimal value (000000-FFFFFF).

You can double-click to display the Color dialog box, where you can select a color or define a custom color for the pointer border. The hexadecimal code displays after you click OK to exit the Color dialog box.

Pointer Border Alpha PointerBorderAlpha Specify the transparency of the pointer border, from  0 (transparent) to 100 (opaque).
Pointer Border Thickness PointerBorderThickness Specify, in pixels, the thickness of the border.
Value Above Pointer ValueAbovePointer When selected (default), this option displays the pointer's value above the pointer.

Otherwise, the pointer's value displays below the pointer.

Pointer On Top PointerOnTop When selected (default), this option displays the pointer above the scale.

Otherwise, the pointer displays below the scale.

Show Gauge Labels ShowGaugeLabels When selected (default), this option displays the gauge labels.

Otherwise, no gauge labels display.

For more information about these and other gauge properties, see the FusionCharts Developer help (www.fusioncharts.com/dev/).

相关主题