GRAPH.Title

Previous  Next

 

strTitle  = GRAPH.TITLE(  BYVAL nControl AS INTEGER,

                         [BYVAL strTitle AS STRING = NULL] ) AS STRING

 


 

Sets or returns the current Title of the Graph.  When setting the Title, the new title will be returned if successful.

 

Example:

 

IF GRAPH.New( nControl, NG_XT, "Position vs Position" ) <> 0 THEN

  ' Do some stuff...

  .

  .

  .

  IF GRAPH.Title( nControl ) = "Position vs Position" THEN

     GRAPH.AddElement( nControl, "Marker 1", pos_x, pos_y )

  ENDIF

ENDIF