menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support
Class AreaSegment - MAUI-ToolKit API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    ChartSegment
    CartesianSegment
    AreaSegment
    RangeAreaSegment
    SplineAreaSegment
    SplineRangeAreaSegment
    StackingAreaSegment
    StepAreaSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    CartesianSegment.IsEmpty
    ChartSegment.Fill
    ChartSegment.Index
    ChartSegment.Item
    ChartSegment.Opacity
    ChartSegment.Series
    ChartSegment.Stroke
    ChartSegment.StrokeDashArray
    ChartSegment.StrokeWidth
    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
    ChartSegment.Draw(ICanvas)

    OnLayout()

    Calculates the required values for rendering the chart segment.

    Declaration
    protected override void OnLayout()
    Overrides
    ChartSegment.OnLayout()

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved