Legend.CustomItems Property

Definition

Gets a LegendItemsCollection object used for custom legend items.

C#
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.DataVisualization.Charting.LegendItemsCollection CustomItems { get; }

Property Value

A LegendItemsCollection object used for custom legend items.

Attributes

Remarks

This collection property can be used to add, delete or modify custom legend items.

Custom legend items, unlike default legend items, do not have associated series or data points.

To modify legend items, use the CustomizeLegend event.

Applies to

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1