Class AreaSegment
Represents a segment of the AreaSeries, providing properties to manage the data points and outline fill points necessary for rendering the area segment.
Inheritance
System.Object
AreaSegment
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class AreaSegment : CartesianSegment, INotifyPropertyChanged, IMarkerDependentSegment
Constructors
AreaSegment()
Declaration
public AreaSegment()
Properties
XValues
Gets the data point values from the series that are associated with the x-axis for the segment.
Declaration
public double[] XValues { get; }
Property Value
Type |
---|
System.Double[] |
YValues
Gets the data point values from the series that are associated with the y-axis for the segment.
Declaration
public double[] YValues { get; }
Property Value
Type |
---|
System.Double[] |
Methods
Draw(ICanvas)
Draws a segment for the specified chart series or charts.
Declaration
protected override void Draw(ICanvas canvas)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.ICanvas | canvas |
Overrides
OnLayout()
Calculates the required values for rendering the chart segment.
Declaration
protected override void OnLayout()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged