menu

MAUI Toolkit

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

    Show / Hide Table of Contents

    Class CandleSegment

    Represents a segment for the CandleSeries chart, commonly used in financial or stock charting.

    Each segment corresponds to a single data point in the series, showing the open, high, low, and close values for a given period.

    Inheritance
    System.Object
    ChartSegment
    CartesianSegment
    HiLoOpenCloseSegment
    CandleSegment
    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 CandleSegment : HiLoOpenCloseSegment, INotifyPropertyChanged

    Constructors

    CandleSegment()

    Declaration
    public CandleSegment()

    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
    HiLoOpenCloseSegment.Draw(ICanvas)

    OnLayout()

    Calculates the required values for rendering the chart segment.

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

    Implements

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