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


Gets or sets a label shown on the chart when no data is available.

Syntax

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

Example

C#Copy Code
Chart.NoDataLabel.Text = "No Data Text"; 
Chart.NoDataLabel.Color = Color.Red; 
    
Visual BasicCopy Code
Chart.NoDataLabel.Text = "No Data Text"
Chart.NoDataLabel.Color = Color.Red

See Also