Version

Text Property (ChartTextAreaBase)

Returns or sets a Infragistics.Documents.Excel.FormattedString object which defines the text to be displayed by the associated chart element.
Syntax
public virtual FormattedString Text {get; set;}
Remarks

Because mixed font settings are supported for chart element text, a special object is required to customize the text.

For the simple case where all the text has the same formatting, create an instance of the Infragistics.Documents.Excel.FormattedString class, specifiying the text as the value of the 'unformattedString' parameter.

To apply font attributes to a given run of text, i.e., a substring within the text, use the Infragistics.Documents.Excel.FormattedString.GetFont method, and set the applicable properties of the Infragistics.Documents.Excel.FormattedStringFont instance returned from the GetFont method.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also