menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartSegment - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartSegment

    Abstract class of series segment.

    Inheritance
    System.Object
    ChartSegment
    ChartSeriesPath
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public abstract class ChartSegment

    Constructors

    ChartSegment()

    Declaration
    protected ChartSegment()

    Properties

    Bounds

    Gets or sets the bounds of the segement.

    Declaration
    public RectangleF Bounds { get; set; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    The bounds.

    ZOrder

    Gets or sets the drawing order of segment.

    Declaration
    public int ZOrder { get; set; }
    Property Value
    Type Description
    System.Int32

    The drawing order.

    Methods

    Draw(Graphics)

    Draws the segment to specified System.Drawing.Graphics.

    Declaration
    public virtual void Draw(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics instance.

    GetChartRegion()

    Gets the region of segment.

    Declaration
    public virtual ChartRegion GetChartRegion()
    Returns
    Type
    ChartRegion
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved