Version

ChartGradientFill Constructor

Creates a new ChartGradientFill instance.
Syntax
public ChartGradientFill( 
   GradientType gradientType,
   IEnumerable<GradientStop> stops,
   double angle
)

Parameters

gradientType
A GradientType constant which defines the type of gradient, i.e., linear, circular, rectangular, etc.
stops
An enumerable list of GradientStop instances which define the location and color of each transition point in the gradient.
angle
The angle defining the path along which the gradient extends; applies only to linear gradients. This parameter is optional and defaults to 0.
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