menu

WinForms

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

    Show / Hide Table of Contents

    Class PyramidSegment

    Represents a chart segment which renders collection of points using pyramid shape.

    Inheritance
    System.Object
    ChartSegment
    PyramidSegment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ChartSegment.AlignHiLoSegment(Double, Double, Double, Double)
    ChartSegment.Interior
    ChartSegment.InteriorProperty
    ChartSegment.IsEmptySegmentInterior
    ChartSegment.Item
    ChartSegment.OnPropertyChanged(String)
    ChartSegment.PolygonPoints
    ChartSegment.PropertyChanged
    ChartSegment.Series
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint)
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean)
    ChartSegment.SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean)
    ChartSegment.SetData(IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, Brush)
    ChartSegment.SetData(IList<Double>, IList<Double>, Brush, Int32)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(IList<Double>, IList<Double>, IList<Double>, IList<Double>, IList<Double>)
    ChartSegment.SetData(List<ChartPoint>)
    ChartSegment.SetData(List<Double>, IList<Double>, Double, Double)
    ChartSegment.SetData(List<Point>)
    ChartSegment.SetData(Point, Point, Point, Point)
    ChartSegment.SetData(Point, Point, Point, Point, Boolean)
    ChartSegment.SetData(Point, Point, Point, Point, Point, Point)
    ChartSegment.SetData(Point, Point, Point, Point, Point, Point, Boolean)
    ChartSegment.Stroke
    ChartSegment.StrokeDashArray
    ChartSegment.StrokeDashArrayProperty
    ChartSegment.StrokeProperty
    ChartSegment.StrokeThickness
    ChartSegment.StrokeThicknessProperty
    ChartSegment.XRange
    ChartSegment.YRange
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class PyramidSegment : ChartSegment, INotifyPropertyChanged

    Constructors

    PyramidSegment()

    Initializes a new instance of the PyramidSegment.

    Declaration
    public PyramidSegment()

    PyramidSegment(Double, Double, Double, PyramidSeries, Boolean)

    Initializes a new instance of the PyramidSegment.

    Declaration
    public PyramidSegment(double y, double height, double explodedOffset, PyramidSeries series, bool isExploded)
    Parameters
    Type Name Description
    System.Double y

    Used to specify y value.

    System.Double height

    Used to specify pyamid height value.

    System.Double explodedOffset

    Used to specify ExplodedeOffset value.

    PyramidSeries series

    Used to specify PyramidSeries instance.

    System.Boolean isExploded

    Used to specify the segment is exploded or not.

    Properties

    XData

    Gets or sets the data point value, which is used to bind with x value for this segment.

    Declaration
    public double XData { get; }
    Property Value
    Type Description
    System.Double

    A data point value, which is used to bind with x value of the segment.

    YData

    Gets or sets the data point value, which is used to bind with y value for this segment.

    Declaration
    public double YData { get; }
    Property Value
    Type Description
    System.Double

    A data point value, which is used to bind with y value of the segment.

    Methods

    CreateVisual(Size)

    Used for creating UIElement for rendering this segment. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.

    Declaration
    public override UIElement CreateVisual(Size size)
    Parameters
    Type Name Description
    System.Windows.Size size

    Size of the panel

    Returns
    Type Description
    System.Windows.UIElement

    returns UIElement

    Overrides
    ChartSegment.CreateVisual(Size)

    GetRenderedVisual()

    Gets the UIElement used for rendering this segment.

    Declaration
    public override UIElement GetRenderedVisual()
    Returns
    Type Description
    System.Windows.UIElement

    returns UIElement

    Overrides
    ChartSegment.GetRenderedVisual()

    OnSizeChanged(Size)

    Called whenever the segment's size changed. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.

    Declaration
    public override void OnSizeChanged(Size size)
    Parameters
    Type Name Description
    System.Windows.Size size

    Size of the panel.

    Overrides
    ChartSegment.OnSizeChanged(Size)

    SetData(Double[])

    Sets the values for this segment. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.

    Declaration
    public override void SetData(params double[] Values)
    Parameters
    Type Name Description
    System.Double[] Values

    Used to specify the segment values.

    Overrides
    ChartSegment.SetData(Double[])

    SetVisualBindings(Shape)

    Method Implementation for set binding to ChartSegments properties.

    Declaration
    protected override void SetVisualBindings(Shape element)
    Parameters
    Type Name Description
    System.Windows.Shapes.Shape element

    System.Windows.Shapes.Shape element to be bind.

    Overrides
    ChartSegment.SetVisualBindings(Shape)

    Update(IChartTransformer)

    Updates the segments based on its data point value. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.

    Declaration
    public override void Update(IChartTransformer transformer)
    Parameters
    Type Name Description
    Syncfusion.UI.Xaml.Charts.IChartTransformer transformer

    Reresents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer)

    Overrides
    ChartSegment.Update(IChartTransformer)

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

    PyramidSeries
    FunnelSeries
    FunnelSegment
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved