skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CandleStick

This class represents a 2D CandleStick series item.

Inheritance
System.Object
BaseChartItem
BaseChartItem2D
Stick
CandleStick
Inherited Members
Stick.CenterProperty
Stick.ClosePointProperty
Stick.HighPointProperty
Stick.LowPointProperty
Stick.OpenPointProperty
Stick.UpdateParametricLineCoordinates(ParametricLine, Double, Double, Double, Double)
Stick.UpdateParametricLineParameter(ParametricLine, Boolean)
Stick.DataPointPropertyChanged(Object, PropertyChangedEventArgs)
Stick.Center
Stick.ClosePoint
Stick.HighPoint
Stick.LowPoint
Stick.OpenPoint
BaseChartItem2D.ItemActualHeightProperty
BaseChartItem2D.ItemActualWidthProperty
BaseChartItem2D.UpdateDefiningGeometry()
BaseChartItem2D.OnDataSeriesDefinitionChanged(Object, PropertyChangedEventArgs)
BaseChartItem2D.OnLabelSettingsPropertyChanged(Object, PropertyChangedEventArgs)
BaseChartItem2D.UpdateTemplateElements()
BaseChartItem2D.ArrangeOverride(Size)
BaseChartItem2D.OnMouseEnter(MouseEventArgs)
BaseChartItem2D.OnMouseLeave(MouseEventArgs)
BaseChartItem2D.OnMouseLeftButtonDown(MouseButtonEventArgs)
BaseChartItem2D.RaiseSelectionChangeNotification()
BaseChartItem2D.ItemActualHeight
BaseChartItem2D.ItemActualWidth
BaseChartItem2D.DefiningGeometry
BaseChartItem.ItemClickEvent
BaseChartItem.CurrentIndexProperty
BaseChartItem.DataPointProperty
BaseChartItem.DataSeriesProperty
BaseChartItem.IsFirstProperty
BaseChartItem.IsLastProperty
BaseChartItem.ItemStyleProperty
BaseChartItem.LastDataPointProperty
BaseChartItem.PreviewItemClickEvent
BaseChartItem.HideToolTip()
BaseChartItem.ConfigureAnimationSettings()
BaseChartItem.ConfigureInitialTransformState()
BaseChartItem.SetSeriesItemStyle()
BaseChartItem.SetSeriesItemStyle(Object)
BaseChartItem.OnInitialized(EventArgs)
BaseChartItem.ApplyCustomAppearanceSettings(Shape)
BaseChartItem.ApplyCustomAppearanceSettings(Shape, Boolean)
BaseChartItem.ApplyCustomStrokeSettings(Shape)
BaseChartItem.ApplyCustomStrokeSettings(ParametricLine)
BaseChartItem.AppearanceItemPropertyChanged(Object, PropertyChangedEventArgs)
BaseChartItem.BaseChartItemMouseEnter(Object, MouseEventArgs)
BaseChartItem.BaseChartItemMouseLeave(Object, MouseEventArgs)
BaseChartItem.BaseChartItemMouseMove(Object, MouseEventArgs)
BaseChartItem.PreviewBaseChartItemClicked(Object, MouseButtonEventArgs)
BaseChartItem.BaseChartItemClicked(Object, MouseButtonEventArgs)
BaseChartItem.StoryboardResourceKeyFormat
BaseChartItem.DataPoint
BaseChartItem.ChartArea
BaseChartItem.CurrentIndex
BaseChartItem.DataSeries
BaseChartItem.IsFirst
BaseChartItem.IsLast
BaseChartItem.ItemStyle
BaseChartItem.LastDataPoint
BaseChartItem.Transform
BaseChartItem.AnimationsEnabled
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public class CandleStick : Stick, IChartItem, ILogicalItem, IAnimatable, IInteractiveElement

Constructors

CandleStick()

Declaration
public CandleStick()

Fields

BottomWickVisibilityProperty

Identifies the BottomWickVisibility dependency property.

Declaration
public static readonly DependencyProperty BottomWickVisibilityProperty
Field Value
System.Windows.DependencyProperty

CandleHeightProperty

Identifies the CandleHeight dependency property.

Declaration
public static readonly DependencyProperty CandleHeightProperty
Field Value
System.Windows.DependencyProperty

DojiLineVisibilityProperty

Identifies the DojiLineVisibility read dependency property.

Declaration
public static readonly DependencyProperty DojiLineVisibilityProperty
Field Value
System.Windows.DependencyProperty

EmptyFillProperty

Identifies the EmptyFill dependency property.

Declaration
public static readonly DependencyProperty EmptyFillProperty
Field Value
System.Windows.DependencyProperty

FillProperty

Identifies the Fill dependency property.

Declaration
public static readonly DependencyProperty FillProperty
Field Value
System.Windows.DependencyProperty

IsFillEmptyProperty

Identifies the IsFillEmpty dependency property.

Declaration
public static readonly DependencyProperty IsFillEmptyProperty
Field Value
System.Windows.DependencyProperty

LineThicknessProperty

Identifies the LineThickness dependency property.

Declaration
public static readonly DependencyProperty LineThicknessProperty
Field Value
System.Windows.DependencyProperty

MaxXValueProperty

Identifies the MaxXValue dependency property.

Declaration
public static readonly DependencyProperty MaxXValueProperty
Field Value
System.Windows.DependencyProperty

MaxYValueProperty

Identifies the MaxYValue dependency property.

Declaration
public static readonly DependencyProperty MaxYValueProperty
Field Value
System.Windows.DependencyProperty

MinXValueProperty

Identifies the MinXValue dependency property.

Declaration
public static readonly DependencyProperty MinXValueProperty
Field Value
System.Windows.DependencyProperty

MinYValueProperty

Identifies the MinYValue dependency property.

Declaration
public static readonly DependencyProperty MinYValueProperty
Field Value
System.Windows.DependencyProperty

RadiusXProperty

Identifies the RadiusX dependency property.

Declaration
public static readonly DependencyProperty RadiusXProperty
Field Value
System.Windows.DependencyProperty

RadiusYProperty

Identifies the RadiusY dependency property.

Declaration
public static readonly DependencyProperty RadiusYProperty
Field Value
System.Windows.DependencyProperty

UpperWickVisibilityProperty

Identifies the UpperWickVisibility dependency property.

Declaration
public static readonly DependencyProperty UpperWickVisibilityProperty
Field Value
System.Windows.DependencyProperty

Properties

BottomWickVisibility

Gets or sets the bottom wick visibility.

Declaration
public Visibility BottomWickVisibility { get; set; }
Property Value
System.Windows.Visibility

The bottom wick visibility.

CandleHeight

Gets or sets the candle height point.

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

The candle height.

DojiLineVisibility

Gets a value indicating whether the DojiLine should be displayed (Open and Close are equal).

Declaration
public Visibility DojiLineVisibility { get; }
Property Value
System.Windows.Visibility

EmptyFill

Gets or sets the empty candle stick brush.

Declaration
public Brush EmptyFill { get; set; }
Property Value
System.Windows.Media.Brush

The empty candle stick brush.

Fill

Gets or sets the fill.

Declaration
public Brush Fill { get; set; }
Property Value
System.Windows.Media.Brush

The fill.

IsFillEmpty

Gets a value indicating whether the Stick should be filled or not.

Declaration
public bool IsFillEmpty { get; }
Property Value
System.Boolean

LineThickness

Gets or sets the LineThickness value.

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

The LineThickness value.

MaxXValue

Gets or sets the maximum X value defined by OpenPoint and ClosePoint properties.

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

The maximum X value.

MaxYValue

Gets or sets the maximum Y value defined by OpenPoint and ClosePoint properties.

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

The maximum Y value.

MinXValue

Gets or sets the minimum X value defined by OpenPoint and ClosePoint properties.

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

The minimum X value.

MinYValue

Gets or sets the minimum Y value defined by OpenPoint and ClosePoint properties.

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

The minimum Y value.

RadiusX

Gets or sets the RadiusX value.

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

The RadiusX value.

RadiusY

Gets or sets the RadiusY value.

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

The RadiusY value.

UpperWickVisibility

Gets or sets the top wick visibility.

Declaration
public Visibility UpperWickVisibility { get; set; }
Property Value
System.Windows.Visibility

The top wick visibility.

Methods

ApplyCustomAppearanceSettings()

Applies the custom appearance settings.

Declaration
protected override void ApplyCustomAppearanceSettings()
Overrides
Stick.ApplyCustomAppearanceSettings()

CalculateParametricLinesCoordinates(Size)

Calculates the position of the helper layout points needed for the rendering of the financial series.

Declaration
protected override void CalculateParametricLinesCoordinates(Size constraint)
Parameters
System.Windows.Size constraint

The constraint in which the chart item should be rendered.

Overrides
Stick.CalculateParametricLinesCoordinates(Size)

MeasureOverride(Size)

Called to measure a control.

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size availableSize

The maximum size that the method can return.

Returns
System.Windows.Size

The size of the control, up to the maximum specified by availableSize.

Overrides
Stick.MeasureOverride(Size)

OnAnimationSettingsChanged()

Called when the animation settings associated with the respective series item change.

Declaration
protected override void OnAnimationSettingsChanged()
Overrides
Stick.OnAnimationSettingsChanged()

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

Declaration
public override void OnApplyTemplate()
Overrides
Stick.OnApplyTemplate()

OnDataPointChanged(Object, DependencyPropertyChangedEventArgs)

Occurs when the DataPoint is changed.

Declaration
protected override void OnDataPointChanged(object sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Object sender

The target.

System.Windows.DependencyPropertyChangedEventArgs args

The System.ComponentModel.PropertyChangedEventArgs instance containing the event data.

Overrides
Stick.OnDataPointChanged(Object, DependencyPropertyChangedEventArgs)

UpdateParametricLinesCoordinates(Size)

This method supports the RadChart infrastructure and is not intended to be used directly from your code.

Declaration
protected override void UpdateParametricLinesCoordinates(Size constraint)
Parameters
System.Windows.Size constraint

Overrides
Stick.UpdateParametricLinesCoordinates(Size)

UpdateParametricLinesParameters()

This method supports the RadChart infrastructure and is not intended to be used directly from your code.

Declaration
protected override void UpdateParametricLinesParameters()
Overrides
Stick.UpdateParametricLinesParameters()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.