menu

WPF

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

    Show / Hide Table of Contents

    Class HiLoSegment

    Represents chart HiLo segment.

    Inheritance
    System.Object
    ChartSegment
    HiLoSegment
    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.SetVisualBindings(Shape)
    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 HiLoSegment : ChartSegment, INotifyPropertyChanged
    Remarks

    Class instance is created automatically by WINRT Chart building system.

    Constructors

    HiLoSegment()

    Declaration
    public HiLoSegment()

    HiLoSegment(Double, Double, Double, HiLoSeries, Object)

    Called when instance created for HiLoSegment

    Declaration
    public HiLoSegment(double xVal, double hghValue, double lwValue, HiLoSeries series, object item)
    Parameters
    Type Name Description
    System.Double xVal

    Used to specify segment x-value

    System.Double hghValue

    Used to specify segment higher bounds

    System.Double lwValue

    Used to specify segment lower bounds

    HiLoSeries series

    Used to specify corresponding series

    System.Object item

    Used to specify corresponding item model

    Properties

    High

    Gets or sets the high(top) value bind with this segment.

    Declaration
    public double High { get; set; }
    Property Value
    Type
    System.Double

    Low

    Gets or sets the low(top) value bind with this segment.

    Declaration
    public double Low { get; set; }
    Property Value
    Type
    System.Double

    XValue

    Gets or sets the x value of the segment.

    Declaration
    public object XValue { get; set; }
    Property Value
    Type
    System.Object

    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 overridden 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 overridden by any derived class.

    Declaration
    public override void OnSizeChanged(Size size)
    Parameters
    Type Name Description
    System.Windows.Size size
    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
    Overrides
    ChartSegment.SetData(Double[])

    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 overridden by any derived class.

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

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

    Overrides
    ChartSegment.Update(IChartTransformer)

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

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