XtraChartsCollectionExtensions.Add(LegendCollection, Action<Legend>) Method
In This Article
Adds a new legend configured using the specified method to the specified legends collection of a chart.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static void Add(
this LegendCollection collection,
Action<Legend> legendAction
)
#Parameters
Name | Type | Description |
---|---|---|
collection | Legend |
A collection of legends to which a new legend will be added. |
legend |
Action<Legend> | A delegate method used to configure a Legend object. |
#Remarks
Note
This method is an extension method.
See Also