Version

Legend Property (Series)

Gets or sets a legend for the current series object.
Syntax
public LegendBase Legend {get; set;}
Remarks
If the Legend property is not set, the series will use the setting according to the parent DataChartView's Legend property.

This is generally expressed as an element name binding, as the Legend must exist at some other position in the layout. This property only indicates which Legend to use and will not alone cause the legend to be visible.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also