Visual Basic (Declaration) | |
---|---|
Public Property DisplayInLegend As NullableBoolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public NullableBoolean DisplayInLegend {get; set;} |
C# | Copy Code |
---|---|
private void detail_Format(object
sender, EventArgs e) |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail1.Format |
The DisplayInLegend property applies to both the Series and DataPoint objects. When set to Auto for a one figure chart (e.g., funnel, pyramid, or doughnut) the property equals False for the Series object and True for the DataPoint object. When set to Auto for all other chart types, the property equals True for the Series object and False for the DataPoints object.