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.

#### JSP Sample Code

The following JSP code illustrates use of the GetSubtitle method.

    chart.SetDataFromTxtFile("C:\\myData.txt");

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

    if( subtitle.length() == 0 )
      chart.SetSubtitle("values in my unit");

    chart.ExportAsResponse();

#### See Also

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

Applies To: Chart Object