GraphSetOtherTitleFontDescriptor method (WinStudio scripts)

Note:  This topic applies to the graphing tool, which is supported for backward compatibility.  We recommend that, if you want to add charts or gauges to a form, use the newer FusionCharts tool instead. See About charts and gauges.

Applies To

IWSFormComponent interface, graph objects

Definition

Sets the font for other titles found in the graph (titles found on the X- and Y-axes).

Syntax

object.GraphSetMainTitleFontDescriptor( string )

  Part   Description
object Required. A reference to a valid graph component object.
string Required. Consists of fourteen comma-separated values:

    Size,0,0,0,Weight,Italic,Underline,Strikethrough,0,0,0,0,0,FontFamily

For more information about these values, see the "Settings" section.

Settings

  Setting   Description
Size A decimal value representing the point size.
Weight Range from 0 (non-bold) to 700 (bold).
Italic 0 = Normal text.

1 = Italicized text.

Underline 0 = Text not underlined.

1 = Text underlined.

Strikethrough 0 = Normal text.

1 = Text struck through.

FontFamily Name of the font to be used.

Example

Dim fontDescriptor As String = _
   "12,0,0,0,700,0,0,0,0,0,0,0,0,Times New Roman"   ' 12-point bold Times New Roman
ThisForm.Components("graph1").GraphSetMainTitleFontDescriptor(fontDescriptor) 
ThisForm.Components("graph1").GraphDraw()