Class SFChartSegment
Inheritance
System.Object
SFChartSegment
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public abstract class SFChartSegment : CAAnimationDelegate
Constructors
SFChartSegment()
Declaration
Properties
Alpha
Gets or sets float value that indicates series fill color's alpha value.
Declaration
public float Alpha { get; set; }
Property Value
AnimationDuration
Declaration
public double AnimationDuration { get; set; }
Property Value
Color
Gets or sets Color which indicates corresponding segment fill color.
Declaration
public NSColor Color { get; set; }
Property Value
Empty
Gets or sets a value indicating whether the segment is empty point or not.
Declaration
public bool Empty { get; set; }
Property Value
EnableAnimation
Declaration
public bool EnableAnimation { get; set; }
Property Value
Index
Declaration
public int Index { get; }
Property Value
Type |
Description |
System.Int32 |
The index.
|
Series
Declaration
public SFSeries Series { get; }
Property Value
Methods
AnimationStopped(CAAnimation, Boolean)
Declaration
public override void AnimationStopped(CAAnimation anim, bool finished)
Parameters
Type |
Name |
Description |
CoreAnimation.CAAnimation |
anim |
|
System.Boolean |
finished |
|
ApplyGradientColors(CGContext)
Applies the LinearGradient or RadialGradient into Context
Declaration
protected virtual void ApplyGradientColors(CGContext context)
Parameters
Type |
Name |
Description |
CoreGraphics.CGContext |
context |
The context.
|
DrawSegment(CGContext)
Declaration
public virtual void DrawSegment(CGContext context)
Parameters
Type |
Name |
Description |
CoreGraphics.CGContext |
context |
|
HitTest(CGPoint)
Declaration
public virtual int HitTest(CGPoint hitPoint)
Parameters
Type |
Name |
Description |
CoreGraphics.CGPoint |
hitPoint |
|
Returns
HitTest(Single, Single)
Declaration
protected virtual int HitTest(float valueX, float valueY)
Parameters
Type |
Name |
Description |
System.Single |
valueX |
|
System.Single |
valueY |
|
Returns
OnLayout()
Method used to calculate rendering bounds of segment.
Declaration
public virtual void OnLayout()