dotnetCHARTING Send comments on this topic.
AlternateText Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : AlternateText Property


Gets or sets text displayed in place of a chart when images can't be viewed. This property can also be used as a tooltip for the chart in browsers that support this feature.

Syntax

Visual Basic (Declaration) 
Public Property AlternateText As String
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As String
 
instance.AlternateText = value
 
value = instance.AlternateText
C# 
public string AlternateText {get; set;}

Example

C#Copy Code
Chart.AlternateText = "The image can't be displayed."; 
    
Visual BasicCopy Code
Chart.AlternateText = "The image can't be displayed."

See Also