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 ChartAnnotation

This is the base class for all chart annotations.

Inheritance
System.Object
DisposableObject
RadObject
UIChartElement
ChartAnnotation
CartesianChartAnnotation
PolarChartAnnotation
Inherited Members
UIChartElement.IsVisibleProperty
UIChartElement.ClassProperty
UIChartElement.VisualStateProperty
UIChartElement.IsMouseDownProperty
UIChartElement.IsMouseOverProperty
UIChartElement.FontProperty
UIChartElement.CustomFontProperty
UIChartElement.CustomFontSizeProperty
UIChartElement.CustomFontStyleProperty
UIChartElement.ForeColorProperty
UIChartElement.BackColorProperty
UIChartElement.BackColor2Property
UIChartElement.BackColor3Property
UIChartElement.BackColor4Property
UIChartElement.NumberOfColorsProperty
UIChartElement.GradientStyleProperty
UIChartElement.GradientAngleProperty
UIChartElement.GradientPercentageProperty
UIChartElement.GradientPercentage2Property
UIChartElement.BorderBoxStyleProperty
UIChartElement.BorderDrawModeProperty
UIChartElement.BorderWidthProperty
UIChartElement.BorderLeftWidthProperty
UIChartElement.BorderRightWidthProperty
UIChartElement.BorderTopWidthProperty
UIChartElement.BorderBottomWidthProperty
UIChartElement.BorderGradientAngleProperty
UIChartElement.BorderGradientStyleProperty
UIChartElement.BorderColorProperty
UIChartElement.BorderColor2Property
UIChartElement.BorderColor3Property
UIChartElement.BorderColor4Property
UIChartElement.BorderInnerColorProperty
UIChartElement.BorderInnerColor2Property
UIChartElement.BorderInnerColor3Property
UIChartElement.BorderInnerColor4Property
UIChartElement.BorderLeftColorProperty
UIChartElement.BorderTopColorProperty
UIChartElement.BorderRightColorProperty
UIChartElement.BorderBottomColorProperty
UIChartElement.BorderLeftShadowColorProperty
UIChartElement.BorderTopShadowColorProperty
UIChartElement.BorderRightShadowColorProperty
UIChartElement.BorderBottomShadowColorProperty
UIChartElement.BackgroundShapeProperty
UIChartElement.BorderDashStyleProperty
UIChartElement.BorderDashPatternProperty
UIChartElement.BorderCornerRadiusProperty
UIChartElement.ShapeProperty
UIChartElement.PaddingProperty
UIChartElement.SmoothingModeProperty
UIChartElement.GetValue(RadProperty)
UIChartElement.Attach(UIChartElement)
UIChartElement.Dettach()
UIChartElement.OnPropertyChanged(RadPropertyChangedEventArgs)
UIChartElement.Refresh()
UIChartElement.Invalidate()
UIChartElement.MeasureContentOverride(ChartNode, Object)
UIChartElement.DpiScaleChanged(SizeF)
UIChartElement.GetScaledFont(Single)
UIChartElement.IChartElementPresenter.RefreshNode(ChartNode)
UIChartElement.IChartElementPresenter.MeasureContent(ChartNode, Object)
UIChartElement.IChartElementPresenter.InvalidatePalette()
UIChartElement.GetCurrentShape()
UIChartElement.GetThemeEffectiveType()
UIChartElement.IStylableNode.ApplySettings(PropertySettingGroup)
UIChartElement.ApplyStyleSettingsCore(PropertySettingGroup)
UIChartElement.ApplyStyle()
UIChartElement.BuildVisualState()
UIChartElement.AddStylePropertySetting(IPropertySetting)
UIChartElement.ApplyStyleByIndex(PropertySettingGroup, Int32)
UIChartElement.Parent
UIChartElement.Level
UIChartElement.Children
UIChartElement.IsMouseDown
UIChartElement.IsMouseOver
UIChartElement.View
UIChartElement.IsVisible
UIChartElement.ForeColor
UIChartElement.Font
UIChartElement.CustomFont
UIChartElement.CustomFontSize
UIChartElement.CustomFontStyle
UIChartElement.BackColor
UIChartElement.BackColor2
UIChartElement.BackColor3
UIChartElement.BackColor4
UIChartElement.GradientStyle
UIChartElement.GradientAngle
UIChartElement.GradientPercentage
UIChartElement.GradientPercentage2
UIChartElement.NumberOfColors
UIChartElement.BorderLeftColor
UIChartElement.BorderTopColor
UIChartElement.BorderRightColor
UIChartElement.BorderBottomColor
UIChartElement.BorderLeftShadowColor
UIChartElement.BorderTopShadowColor
UIChartElement.BorderRightShadowColor
UIChartElement.BorderBottomShadowColor
UIChartElement.BorderBoxStyle
UIChartElement.BorderDrawMode
UIChartElement.BorderWidth
UIChartElement.BorderLeftWidth
UIChartElement.BorderTopWidth
UIChartElement.BorderRightWidth
UIChartElement.BorderBottomWidth
UIChartElement.BorderGradientAngle
UIChartElement.BorderGradientStyle
UIChartElement.BorderColor
UIChartElement.BorderColor2
UIChartElement.BorderColor3
UIChartElement.BorderColor4
UIChartElement.BorderInnerColor
UIChartElement.BorderInnerColor2
UIChartElement.BorderInnerColor3
UIChartElement.BorderInnerColor4
UIChartElement.BorderDashStyle
UIChartElement.BorderDashPattern
UIChartElement.BorderCornerRadius
UIChartElement.Size
UIChartElement.Shape
UIChartElement.BackgroundShape
UIChartElement.Padding
UIChartElement.SmoothingMode
UIChartElement.IsAttached
UIChartElement.DpiScaleFactor
UIChartElement.IBorderElement.ForeColor
UIChartElement.IBorderElement.ForeColor2
UIChartElement.IBorderElement.ForeColor3
UIChartElement.IBorderElement.ForeColor4
UIChartElement.IBorderElement.InnerColor
UIChartElement.IBorderElement.InnerColor2
UIChartElement.IBorderElement.InnerColor3
UIChartElement.IBorderElement.InnerColor4
UIChartElement.IBorderElement.BoxStyle
UIChartElement.IBorderElement.GradientStyle
UIChartElement.IBorderElement.GradientAngle
UIChartElement.IBorderElement.SmoothingMode
UIChartElement.IBoxStyle.LeftColor
UIChartElement.IBoxStyle.LeftShadowColor
UIChartElement.IBoxStyle.TopColor
UIChartElement.IBoxStyle.TopShadowColor
UIChartElement.IBoxStyle.RightColor
UIChartElement.IBoxStyle.RightShadowColor
UIChartElement.IBoxStyle.BottomColor
UIChartElement.IBoxStyle.BottomShadowColor
UIChartElement.IBoxElement.Width
UIChartElement.IBoxElement.LeftWidth
UIChartElement.IBoxElement.TopWidth
UIChartElement.IBoxElement.RightWidth
UIChartElement.IBoxElement.BottomWidth
UIChartElement.IBoxElement.Offset
UIChartElement.IBoxElement.BorderSize
UIChartElement.IBoxElement.HorizontalWidth
UIChartElement.IBoxElement.VerticalWidth
UIChartElement.Class
UIChartElement.VisualState
UIChartElement.ThemeRole
UIChartElement.ChildrenHierarchy
UIChartElement.IStylableNode.Children
UIChartElement.IStylableNode.Parent
UIChartElement.Style
UIChartElement.StateManager
UIChartElement.FallbackToDefaultTheme
RadObject.BindingContextProperty
RadObject.RadType
RadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)
RadObject.DisposeManagedResources()
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
RadObject.SetValue(RadProperty, Object)
RadObject.ResetValue(RadProperty)
RadObject.ResetLocalValue(RadProperty)
RadObject.ResetValue(RadProperty, ValueResetFlags)
RadObject.UpdateValue(RadProperty)
RadObject.GetValueSource(RadProperty)
RadObject.GetRegisteredRadProperty(String)
RadObject.UpdateValueCore(RadPropertyValue)
RadObject.SetValueCore(RadPropertyValue, Object, Object, ValueSource)
RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)
RadObject.GetDefaultValue(RadPropertyValue, Object)
RadObject.CoerceValue(RadPropertyValue, Object)
RadObject.ShouldSerializeProperty(PropertyDescriptor)
RadObject.ShouldSerializeProperty(RadProperty)
RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)
RadObject.OnNotifyPropertyChanged(String)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)
RadObject.IsPropertyCancelable(RadPropertyMetadata)
RadObject.PropertyValues
RadObject.IsDesignMode
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.BindingContext
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
RadObject.ShouldSerializePropertyHandler
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.OnBitStateChanged(Int64, Boolean, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.PerformDispose(Boolean)
DisposableObject.DisposeUnmanagedResources()
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll

Syntax

public abstract class ChartAnnotation : UIChartElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement

Constructors

ChartAnnotation()

Initializes a new instance of the ChartAnnotation class.

Declaration
public ChartAnnotation()

Fields

ClipToPlotAreaProperty

Declaration
public static readonly RadProperty ClipToPlotAreaProperty
Field Value
RadProperty

DrawModeProperty

Declaration
public static readonly RadProperty DrawModeProperty
Field Value
RadProperty

PositionOffsetProperty

Declaration
public static readonly RadProperty PositionOffsetProperty
Field Value
RadProperty

Properties

ClipToPlotArea

Gets or sets a value indicating whether this instance will be clipped to the bounds of the plot area.

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

DrawMode

Gets or sets a value indicating the position of the annotation in the chart draw stack.

Declaration
public AnnotationDrawMode DrawMode { get; set; }
Property Value
AnnotationDrawMode

PositonOffset

Gets or sets the offset of the label of the annotations in pixels.

Declaration
public SizeF PositonOffset { get; set; }
Property Value
System.Drawing.SizeF

Methods

OnAttached(UIChartElement)

Occurs when the annotation has been successfully attached to its owning ChartView instance.

Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
UIChartElement parent

Overrides
UIChartElement.OnAttached(UIChartElement)

OnDettached()

Occurs when the annotation has been successfully detached from its owning ChartView instance.

Declaration
protected override void OnDettached()
Overrides
UIChartElement.OnDettached()

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • 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.