GraphSetYAxisTitleText method (WinStudio scripts)

注意: 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 text for the Y-axis label.

Syntax

object.GraphSetYAxisTitleText( string )

  Part   Description
object Required. A reference to a valid graph component object.
string Required. The text to be displayed as the y-axis label.

Example

ThisForm.Components("graph1").GraphSetYAxisTitleText("My Y-Axis Title") 
ThisForm.Components("graph1").GraphDraw()