Specifying settings for Bullet gauges

When using the Specify Gauge Settings dialog box to create and configure gauges, the settings on the Bullet tab are used only when the gauge type is Bullet 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 Bullet tab. GaugeSetProperty and GaugeGetProperty property names are also listed.

Bullet tab Fields / Options Property name Description / Comments
Target Value Not available Specify the value that indicates the target.
Plot as Dot PlotAsDot When selected, this option displays the plot as a point, instead of a bar.
Plot Fill Percent PlotFillPercent Specify the thickness of the value bar as a percentage of the total graph height/width. 

This refers to the height of the bar in a horizontal bullet graph and the width of a bar in a vertical bullet graph.

Target Fill Percent TargetFillPercent Specify the thickness of the target line as a percentage of the total graph height/width. 

This refers to the height of the target line in a horizontal bullet graph and the width of the target line in a vertical bullet graph.

Plot Fill Color PlotFillColor Specify the RGB value for the plot fill 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 plot fill. 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.

Plot Fill Alpha PlotFillAlpha For each color specified for the Plot Fill 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.

Show Plot Border ShowPlotBorder When selected, this option displays a border around the bullet chart.
Plot Border Color PlotBorderColor Specify the RGB value for the plot 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 plot border. The hexadecimal code displays after you click OK to exit the Color dialog box.

Plot Border Thickness PlotBorderThickness Specify, in pixels, the thickness of the plot border.
Plot Border Alpha PlotBorderAlpha Specify the transparency of the plot border, from 0 (transparent) to 100 (opaque).
Target Color TargetColor Specify the RGB value for the target 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 target. The hexadecimal code displays after you click OK to exit the Color dialog box.

Target Thickness TargetThickness Specify, in pixels, the thickness of the target.
Caption Padding CaptionPadding Specify a value, in pixels, to control the vertical space between the caption and the top of the gauge component.  
Canvas Left Margin CanvasLeftMargin Specify the space, in pixels, between the gauge and the left margin.
Canvas Right Margin CanvasRightMargin Specify the space, in pixels, between the gauge and the right margin.

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

相关主题