Class ChartGradientColor
ChartGradientColor contains the collection of custom gradient colors to populate a gradient palette.
Inheritance
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class ChartGradientColor : Element, IThemeElement
Remarks
The StartPoint property and EndPoint property of ChartGradientColor is used to configure the direction of gradient color.
Constructors
ChartGradientColor()
Initializes a new instance of the ChartGradientColor class.
Declaration
public ChartGradientColor()
Fields
EndPointProperty
Gets or sets the end point of the gradient values. This is a bindable property.
Declaration
public static readonly BindableProperty EndPointProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
GradientStopsProperty
Gets or sets the gradient stops of the gradient values. This is a bindable property.
Declaration
public static readonly BindableProperty GradientStopsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StartPointProperty
Gets or sets the start point of the gradient values. This is a bindable property.
Declaration
public static readonly BindableProperty StartPointProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
EndPoint
Gets or sets the ending two-dimensional coordinates of the linear gradient. This is a bindable property.
Declaration
public Point EndPoint { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Point |
GradientStops
Gets or sets the color and offset of a transistion point in a gradient.This is a bindable property.
Declaration
public ChartGradientStopCollection GradientStops { get; set; }
Property Value
Type |
---|
ChartGradientStopCollection |
StartPoint
Gets or sets the starting two-dimensional coordinates of the linear gradient. This is a bindable property.
Declaration
public Point StartPoint { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Point |