Class BoxAndWhiskerSegment
Represents the segment of the BoxAndWhiskerSeries.
This class is responsible for defining the bounds and key values (maximum, minimum, quartiles, median) used to render a segment in a box and whisker plot.
The segment's appearance, including its stroke color and fill color, is derived from the associated series.
Implements
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class BoxAndWhiskerSegment : CartesianSegment, INotifyPropertyChanged
Constructors
BoxAndWhiskerSegment()
Initializes a new instance of the BoxAndWhiskerSegment class.
Declaration
public BoxAndWhiskerSegment()
Properties
Bottom
Gets the bottom position value for the box plot.
Declaration
public float Bottom { get; }
Property Value
Type |
---|
System.Single |
Center
Gets the center position value for the box plot.
Declaration
public double Center { get; }
Property Value
Type |
---|
System.Double |
Left
Gets the left value for the box plot.
Declaration
public float Left { get; }
Property Value
Type |
---|
System.Single |
LowerQuartile
Gets the lower quartile value for the box plot.
Declaration
public double LowerQuartile { get; }
Property Value
Type |
---|
System.Double |
Maximum
Gets the maximum value for the box plot.
Declaration
public double Maximum { get; }
Property Value
Type |
---|
System.Double |
Median
Gets the median value for the box plot.
Declaration
public double Median { get; }
Property Value
Type |
---|
System.Double |
Minimum
Gets the minimum value for the box plot.
Declaration
public double Minimum { get; }
Property Value
Type |
---|
System.Double |
Right
Gets the right position value for the box plot.
Declaration
public float Right { get; }
Property Value
Type |
---|
System.Single |
Top
Gets the top position value for the box plot.
Declaration
public float Top { get; }
Property Value
Type |
---|
System.Single |
UpperQuartile
Gets the upper quartile value for the box plot.
Declaration
public double UpperQuartile { 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()