menu

MAUI Toolkit

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

    Show / Hide Table of Contents

    Class ColumnSegment

    Represents a segment of the ColumnSeries chart, including support for stacked column charts. This class manages the positioning and rendering of the column segment within the chart.

    Inheritance
    System.Object
    ChartSegment
    CartesianSegment
    ColumnSegment
    HistogramSegment
    RangeColumnSegment
    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 ColumnSegment : CartesianSegment, INotifyPropertyChanged

    Constructors

    ColumnSegment()

    Declaration
    public ColumnSegment()

    Properties

    Bottom

    Gets the bottom position value for the column segment.

    Declaration
    public float Bottom { get; }
    Property Value
    Type
    System.Single

    Left

    Gets the left position value for the column segment.

    Declaration
    public float Left { get; }
    Property Value
    Type
    System.Single

    Right

    Gets the right position value for the column segment.

    Declaration
    public float Right { get; }
    Property Value
    Type
    System.Single

    Top

    Gets the top position value for the column segment.

    Declaration
    public float Top { get; }
    Property Value
    Type
    System.Single

    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