ASP.NET Chart Title and Subtitle

The title by default is displayed at the top of the chart, and beneath it an optional subtitle can be shown.

chart-title

The chart title and subtitle can be added and customized via the ShieldChart.PrimaryHeader and ShieldChart.SecondaryHeader properties. For example you can use following markup in order to set title and subtitle:

<shield:ShieldChart runat="server" ID="ShieldChart1">
    <PrimaryHeader Text="Chart Title">
    </PrimaryHeader>
    <SecondaryHeader Text="Subtitle">
    </SecondaryHeader>
    …
</shield:ShieldChart>

If the PrimaryHeader.Text property is not set the default "shield Chart" text is set.