Back to Devexpress

Indicator.Legend Property

corelibraries-devexpress-dot-xtracharts-dot-indicator-378441e2.md

latest2.4 KB
Original Source

Indicator.Legend Property

Gets or sets a legend displaying an indicator legend item.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public Legend Legend { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
Public Property Legend As Legend

Property Value

TypeDescription
Legend

A Legend object displaying an indicator legend.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Legend property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-chart-add-an-additional-legend-to-a-chart/CS/LegendsSamples/Form1.cs#L42

csharp
// Assign the data displayed in legend.
macd.Legend = macdLegend;
#endregion #AddAdditionalLegend

winforms-chart-add-an-additional-legend-to-a-chart/VB/LegendsSamples/Form1.vb#L43

vb
' Assign the data displayed in legend.
            macd.Legend = macdLegend
#End Region ' #AddAdditionalLegend

See Also

Indicator Class

Indicator Members

DevExpress.XtraCharts Namespace