Class ChartGradientColor
ChartGradientColor contains a collection of custom gradient colors to populate a gradient palette.
Inheritance
System.Object
ChartGradientColor
Namespace: Syncfusion.MacOS.Charts.SfChart
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class ChartGradientColor : Object
Remarks
The StartPoint property and EndPoint property of ChartGradientColor is used to configure the direction of gradient color.
Constructors
ChartGradientColor()
Declaration
public ChartGradientColor()
Properties
EndPoint
Gets or sets the ending two-dimensional coordinates of the linear gradient.
Declaration
public CGPoint EndPoint { get; set; }
Property Value
Type |
---|
CoreGraphics.CGPoint |
GradientStops
Gets or sets the color and offset of a transition point in a gradient.
Declaration
public ChartGradientStopCollection GradientStops { get; set; }
Property Value
Type |
---|
ChartGradientStopCollection |
StartPoint
Gets or sets the starting two-dimensional coordinates of the linear gradient.
Declaration
public CGPoint StartPoint { get; set; }
Property Value
Type |
---|
CoreGraphics.CGPoint |