Retrieves the subtitle of a chart (displayed on top of a chart).

    string object->GetSubtitle( )

#### Arguments

object
  Required. A Chart object.

#### Return Value

The GetSubtitle method returns a string value that contains the subtitle of a chart.

#### PHP Sample Code

The following PHP code illustrates use of the GetSubtitle method.

    $chart->SetDataFromQuery();

    // We want a subtitle for our chart (add one if it is not yet available)
    $subtitle= $chart->GetSubtitle();

    if( $subtitle == "" )
      $chart->SetSubtitle("values in my unit");

    $chart->ExportAsResponse();

#### See Also

SetSubtitle Method | GetTitle Method | GetWidth Method | GetHeight Method | GetFrameRate Method

Applies To: Chart Object