MindFusion.Charting Programmer's Guide

Chart.TitleText Property

See Also
 





Specifies the text for the chart title.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public string TitleText { get; }

Visual Basic  Copy Code

Public ReadOnly Property TitleText As String

 Property Value

A string that specifies the title for the chart.

 Remarks

The property specifies the title for all chart types. If it is an empty string, no title is drawn.

The chart title is drawn with font and brush set respectively by the TitleFont and TitleBrush properties. The title is placed at the top of the chart and is aligned in the center. It is always drawn above the subtitle, if any.

You can draw the title in more than one line by inserting the new line ("\n") symbol in those positions in the text that you want to start at a new line. The control itself does not divide the title text but adjusts the width of the chart so that the title could fit in.

Default value of the TitleText property is an empty string.

 See Also