Version

Fill Property (Legend)

Returns or sets a ChartFillBase derived object which defines the fill properties for the legend's text area.
Syntax
public ChartFillBase Fill {get; set;}
Remarks

This property returns null by default, indicating that no fill is applied.

To apply a solid color fill, assign an instance of the ChartSolidFill class to this property.

To apply a gradient fill, assign an instance of the ChartGradientFill class to this property.

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