Class ChartGradientStop
ChartGradientStop contains gradient color and gradient offset to configure the color and offset position of each color.
Inheritance
System.Object
ChartGradientStop
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class ChartGradientStop : Element, IThemeElement
Remarks
The Color and Offset properties of the ChartGradientStop is used to configure the color and offset position of each color.
Constructors
ChartGradientStop()
Initializes a new instance of the ChartGradientStop class.
Declaration
public ChartGradientStop()
Fields
ColorProperty
Gets or sets the gradient color of the gradient stop. This is a bindable property.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
OffsetProperty
Gets or sets the gradient offset of the gradient stop. This is a bindable property.
Declaration
public static readonly BindableProperty OffsetProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Color
Gets or sets the color of the gradient stop. This is a bindable property.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
Offset
Gets or sets the offset of the gradient stop. This is a bindable property.
Declaration
public float Offset { get; set; }
Property Value
Type |
---|
System.Single |