WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AverageTrueRangeIndicator - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AverageTrueRangeIndicator

    Represents the AverageTrueRange technical indicator.

    Inheritance
    System.Object
    ChartSeriesBase
    ChartSeries
    FinancialTechnicalIndicator
    AverageTrueRangeIndicator
    Implements
    ICloneable
    ISupportAxes2D
    ISupportAxes
    Inherited Members
    FinancialTechnicalIndicator.ShowTrackballInfoProperty
    FinancialTechnicalIndicator.XAxisProperty
    FinancialTechnicalIndicator.YAxisProperty
    FinancialTechnicalIndicator.IsTransposedProperty
    FinancialTechnicalIndicator.CustomTemplateProperty
    FinancialTechnicalIndicator.StrokeDashArrayProperty
    FinancialTechnicalIndicator.SeriesNameProperty
    FinancialTechnicalIndicator.HighProperty
    FinancialTechnicalIndicator.LowProperty
    FinancialTechnicalIndicator.OpenProperty
    FinancialTechnicalIndicator.CloseProperty
    FinancialTechnicalIndicator.VolumeProperty
    FinancialTechnicalIndicator.OnYAxisChanged(ChartAxis, ChartAxis)
    FinancialTechnicalIndicator.OnXAxisChanged(ChartAxis, ChartAxis)
    FinancialTechnicalIndicator.XRange
    FinancialTechnicalIndicator.YRange
    FinancialTechnicalIndicator.ShowTrackballInfo
    FinancialTechnicalIndicator.XAxis
    FinancialTechnicalIndicator.YAxis
    FinancialTechnicalIndicator.ISupportAxes.ActualXAxis
    FinancialTechnicalIndicator.ISupportAxes.ActualYAxis
    FinancialTechnicalIndicator.IsTransposed
    FinancialTechnicalIndicator.CustomTemplate
    FinancialTechnicalIndicator.StrokeDashArray
    FinancialTechnicalIndicator.SeriesName
    FinancialTechnicalIndicator.High
    FinancialTechnicalIndicator.Low
    FinancialTechnicalIndicator.Open
    FinancialTechnicalIndicator.Close
    FinancialTechnicalIndicator.Volume
    ChartSeries.StrokeProperty
    ChartSeries.StrokeThicknessProperty
    ChartSeries.GetDataPointIndex(Double, Double)
    ChartSeries.OnApplyTemplate()
    ChartSeries.OnCreateAutomationPeer()
    ChartSeries.StrokeThickness
    ChartSeries.Area
    ChartSeries.Stroke
    ChartSeriesBase.SpacingProperty
    ChartSeriesBase.TooltipTemplateProperty
    ChartSeriesBase.ShowTooltipProperty
    ChartSeriesBase.ListenPropertyChangeProperty
    ChartSeriesBase.IsSeriesVisibleProperty
    ChartSeriesBase.XBindingPathProperty
    ChartSeriesBase.SortByProperty
    ChartSeriesBase.SortDirectionProperty
    ChartSeriesBase.IsSortDataProperty
    ChartSeriesBase.PaletteProperty
    ChartSeriesBase.ItemsSourceProperty
    ChartSeriesBase.TrackBallLabelTemplateProperty
    ChartSeriesBase.InteriorProperty
    ChartSeriesBase.LabelProperty
    ChartSeriesBase.LegendIconProperty
    ChartSeriesBase.LegendIconTemplateProperty
    ChartSeriesBase.VisibilityOnLegendProperty
    ChartSeriesBase.SeriesSelectionBrushProperty
    ChartSeriesBase.ColorModelProperty
    ChartSeriesBase.SegmentColorPathProperty
    ChartSeriesBase.EnableAnimationProperty
    ChartSeriesBase.AnimationDurationProperty
    ChartSeriesBase.EmptyPointValueProperty
    ChartSeriesBase.EmptyPointStyleProperty
    ChartSeriesBase.EmptyPointSymbolTemplateProperty
    ChartSeriesBase.ShowEmptyPointsProperty
    ChartSeriesBase.EmptyPointInteriorProperty
    ChartSeriesBase.Segments
    ChartSeriesBase.Timer
    ChartSeriesBase.InitialDelayTimer
    ChartSeriesBase.ChartTransformer
    ChartSeriesBase.YPaths
    ChartSeriesBase.GetSpacing(DependencyObject)
    ChartSeriesBase.SetSpacing(DependencyObject, Double)
    ChartSeriesBase.FindNearestChartPoint(Point, Double, Double, Double)
    ChartSeriesBase.CreateEmptyPointSegments(IList<Double>, List<List<Double>>, List<List<Double>>)
    ChartSeriesBase.GetAvailableSize()
    ChartSeriesBase.SuspendNotification()
    ChartSeriesBase.ResumeNotification()
    ChartSeriesBase.Invalidate()
    ChartSeriesBase.GetSideBySideInfo(ChartSeriesBase)
    ChartSeriesBase.Clone()
    ChartSeriesBase.OnSeriesMouseUp(Object, Point)
    ChartSeriesBase.OnSeriesMouseDown(Object, Point)
    ChartSeriesBase.SelectedIndexChanged(Int32, Int32)
    ChartSeriesBase.CreateTransformer(Size, Boolean)
    ChartSeriesBase.GetXValues()
    ChartSeriesBase.SetTooltipDuration()
    ChartSeriesBase.IsTooltipAvailable(Canvas)
    ChartSeriesBase.SetDoubleAnimation(ChartTooltip)
    ChartSeriesBase.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeriesBase.SetIndividualDataTablePoint(Int32, Object, Boolean)
    ChartSeriesBase.ClearUnUsedSegments(Int32)
    ChartSeriesBase.OnMouseLeftButtonUp(MouseButtonEventArgs)
    ChartSeriesBase.OnMouseLeftButtonDown(MouseButtonEventArgs)
    ChartSeriesBase.OnMouseMove(MouseEventArgs)
    ChartSeriesBase.OnMouseLeave(MouseEventArgs)
    ChartSeriesBase.Position(Point, ChartTooltip)
    ChartSeriesBase.UpdateArea()
    ChartSeriesBase.GetPreviousSeries(ChartSeriesBase)
    ChartSeriesBase.GeneratePoints(String[], IList<Double>[])
    ChartSeriesBase.OnDataSourceChanged(DependencyPropertyChangedEventArgs)
    ChartSeriesBase.EmptyPointValue
    ChartSeriesBase.EmptyPointStyle
    ChartSeriesBase.EmptyPointSymbolTemplate
    ChartSeriesBase.ShowEmptyPoints
    ChartSeriesBase.EmptyPointInterior
    ChartSeriesBase.DataCount
    ChartSeriesBase.IsSortData
    ChartSeriesBase.SortDirection
    ChartSeriesBase.SortBy
    ChartSeriesBase.TooltipTemplate
    ChartSeriesBase.ShowTooltip
    ChartSeriesBase.ListenPropertyChange
    ChartSeriesBase.Adornments
    ChartSeriesBase.IsSeriesVisible
    ChartSeriesBase.Palette
    ChartSeriesBase.ItemsSource
    ChartSeriesBase.TrackBallLabelTemplate
    ChartSeriesBase.Interior
    ChartSeriesBase.Label
    ChartSeriesBase.LegendIcon
    ChartSeriesBase.LegendIconTemplate
    ChartSeriesBase.VisibilityOnLegend
    ChartSeriesBase.SeriesSelectionBrush
    ChartSeriesBase.ColorModel
    ChartSeriesBase.XBindingPath
    ChartSeriesBase.SegmentColorPath
    ChartSeriesBase.EnableAnimation
    ChartSeriesBase.AnimationDuration
    ChartSeriesBase.IsSideBySide
    ChartSeriesBase.IsLinear
    ChartSeriesBase.IsAreaTypeSeries
    ChartSeriesBase.IsBitmapSeries
    ChartSeriesBase.IsColorPathSeries
    ChartSeriesBase.IsIndexed
    ChartSeriesBase.ColorValues
    ChartSeriesBase.ActualXValues
    ChartSeriesBase.SelectedSegmentsIndexes
    ChartSeriesBase.SelectedSegments
    ChartSeriesBase.SelectedSegment
    ChartSeriesBase.ActualXAxis
    ChartSeriesBase.ActualYAxis
    ChartSeriesBase.IsStacked
    ChartSeriesBase.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class AverageTrueRangeIndicator : FinancialTechnicalIndicator, ICloneable, ISupportAxes2D, ISupportAxes

    Constructors

    AverageTrueRangeIndicator()

    Called when instance created for AverageTrueRangeIndicator.

    Declaration
    public AverageTrueRangeIndicator()

    Fields

    PeriodProperty

    The DependencyProperty for Period property.

    Declaration
    public static readonly DependencyProperty PeriodProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SignalLineColorProperty

    The DependencyProperty for SignalLineColor property.

    Declaration
    public static readonly DependencyProperty SignalLineColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Period

    Gets or sets the moving average value for the indicator.

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

    SignalLineColor

    Gets or sets the color for the signal Line.

    Declaration
    public Brush SignalLineColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The System.Windows.Media.Brush value.

    Methods

    CloneSeries(DependencyObject)

    Declaration
    protected override DependencyObject CloneSeries(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Windows.DependencyObject
    Overrides
    FinancialTechnicalIndicator.CloneSeries(DependencyObject)

    CreateSegment()

    Creates an instance of series segment.

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type Description
    ChartSegment

    Returns the instance of corresponding series segment.

    Overrides
    ChartSeries.CreateSegment()
    Remarks

    This customization is not supported for fast type series and technical indicators.

    Examples

    This sample shows how to call the CreateSegment() method to customize the line series segments.

    public class LineSeriesExt : LineSeries
    {​ 
        protected override ChartSegment CreateSegment()
        {​
            return new LineSegmentExt();
        }​
    }​
    
    public class LineSegmentExt : LineSegment
    {​
        public override UIElement CreateVisual(Size size)
        {​
            // Write your customization code here.
        }​
    
        public override void Update(IChartTransformer transformer)
        {​
            // Write your customization code here.
        }​
    }

    CreateSegments()

    Creates the segments of AverageTrueRangeIndicator.

    Declaration
    public override void CreateSegments()
    Overrides
    FinancialTechnicalIndicator.CreateSegments()

    GeneratePoints()

    Method implementation for GeneratePoints for TechnicalIndicator.

    Declaration
    protected override void GeneratePoints()
    Overrides
    FinancialTechnicalIndicator.GeneratePoints()

    OnBindingPathChanged(DependencyPropertyChangedEventArgs)

    Called when binding path changed.

    Declaration
    protected override void OnBindingPathChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    Event args.

    Overrides
    ChartSeriesBase.OnBindingPathChanged(DependencyPropertyChangedEventArgs)

    OnDataSourceChanged(IEnumerable, IEnumerable)

    Called when ItemsSource property changed.

    Declaration
    protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
    Parameters
    Type Name Description
    System.Collections.IEnumerable oldValue

    Specifies the old value.

    System.Collections.IEnumerable newValue

    Specifies the new value.

    Overrides
    FinancialTechnicalIndicator.OnDataSourceChanged(IEnumerable, IEnumerable)

    SetSeriesItemSource(ChartSeriesBase)

    Method implementation for set ItemsSource to TechnicalIndicator.

    Declaration
    protected override void SetSeriesItemSource(ChartSeriesBase series)
    Parameters
    Type Name Description
    ChartSeriesBase series

    TechnicalIndicator instance.

    Overrides
    FinancialTechnicalIndicator.SetSeriesItemSource(ChartSeriesBase)

    UpdateSegments(Int32, NotifyCollectionChangedAction)

    Updates the segment at the specified index.

    Declaration
    public override void UpdateSegments(int index, NotifyCollectionChangedAction action)
    Parameters
    Type Name Description
    System.Int32 index

    The index of the segment.

    System.Collections.Specialized.NotifyCollectionChangedAction action

    The action that caused the segments collection changed event.

    Overrides
    FinancialTechnicalIndicator.UpdateSegments(Int32, NotifyCollectionChangedAction)

    Implements

    ICloneable
    ISupportAxes2D
    ISupportAxes

    See Also

    FinancialTechnicalIndicator
    TechnicalIndicatorSegment
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved