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 CartesianAxis

Provides the abstract base class for axes used in Cartesian coordinate systems, supporting positioning and scale break functionality.

Inheritance
System.Object
DisposableObject
RadObject
UIChartElement
Axis
LineAxis
CartesianAxis
CategoricalAxis
DateTimeContinuousAxis
NumericalAxis
Inherited Members
LineAxis.IsInverseProperty
LineAxis.OnPropertyChanged(RadPropertyChangedEventArgs)
LineAxis.IsInverse
Axis.LabelFitModeProperty
Axis.LabelFormatProperty
Axis.LabelIntervalProperty
Axis.LabelOffsetProperty
Axis.LabelRotationAngleProperty
Axis.LastLabelVisibilityProperty
Axis.MajorTickOffsetProperty
Axis.ShowLabelsProperty
Axis.TickLengthProperty
Axis.TickWidthProperty
Axis.TitleProperty
Axis.MeasureContentOverride(ChartNode, Object)
Axis.MeasureLabel(ChartNode, Object)
Axis.GetLabelCacheKey(AxisLabelModel)
Axis.MeasureTitle(Object)
Axis.BuildVisualState()
Axis.ToString()
Axis.CreateLabelElement(AxisLabelModel)
Axis.IsPrimary
Axis.LabelFitMode
Axis.LabelFormat
Axis.LabelFormatProvider
Axis.LabelInterval
Axis.LabelOffset
Axis.LabelRotationAngle
Axis.LastLabelVisibility
Axis.LineWidth
Axis.MajorTickOffset
Axis.ShowLabels
Axis.TickLength
Axis.TickWidth
Axis.Title
Axis.TitleElement
Axis.AxisType
Axis.Model
Axis.EnableElementCache
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.Refresh()
UIChartElement.Invalidate()
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.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.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.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 CartesianAxis : LineAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement

Constructors

CartesianAxis()

Initializes a new instance of the CartesianAxis class.

Declaration
public CartesianAxis()

Fields

AutomaticBorderColorProperty

Identifies the AutomaticBorderColor dependency property.

Declaration
public static RadProperty AutomaticBorderColorProperty
Field Value
RadProperty

IsMultiAxisProperty

Identifies the IsMultiAxis dependency property.

Declaration
public static RadProperty IsMultiAxisProperty
Field Value
RadProperty

Properties

AutomaticBorderColor

Gets or sets a value indicating whether the color of the axis and series will be synchronized when in multi-axis mode.

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

true if color is taken from the series; otherwise, false.

ClipLabels

Gets or sets a value indicating whether axis labels will be clipped to the axis width for horizontal axes and the axis height for vertical axes.

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

HasScaleBreaks

Gets a value indicating whether the axis has scale breaks added to it.

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

HorizontalLocation

Gets or sets the horizontal location of the axis in relation to the plot area.

Declaration
public AxisHorizontalLocation HorizontalLocation { get; set; }
Property Value
AxisHorizontalLocation

IsMultiAxis

Gets a value indicating whether this axis is part of a vertical or horizontal multi-axis layout.

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

true if this axis is part of a multi-axis chart; otherwise, false.

ScaleBreakBackColor

Gets or sets the back color of the scale breaks of this axis.

Declaration
public Color ScaleBreakBackColor { get; set; }
Property Value
System.Drawing.Color

ScaleBreakBorderColor

Gets or sets the border color of the scale breaks of this axis.

Declaration
public Color ScaleBreakBorderColor { get; set; }
Property Value
System.Drawing.Color

ScaleBreaks

Allows adding and removing scale breaks to this axis.

Declaration
public AxisScaleBreakCollection ScaleBreaks { get; }
Property Value
AxisScaleBreakCollection

ScaleBreakSize

Gets or sets the size of the gap drawn for each of the scale breaks of this axis.

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

ScaleBreakStyle

Gets or sets the style of the scale breaks of this axis.

Declaration
public ScaleBreakStyle ScaleBreakStyle { get; set; }
Property Value
ScaleBreakStyle

StartPositionAxis

Gets or sets the axis used to determine the start position alignment for this axis.

Declaration
public Axis StartPositionAxis { get; set; }
Property Value
Axis

StartPositionValue

Gets or sets the value of the StartPositionAxis where this axis should be aligned.

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

VerticalLocation

Gets or sets the vertical location of the axis in relation to the plot area.

Declaration
public AxisVerticalLocation VerticalLocation { get; set; }
Property Value
AxisVerticalLocation

Methods

GetLocationOfValue(Object)

Gets the location in pixels for the given value along the axis, accounting for whether the axis is vertical or horizontal.

Declaration
public abstract double GetLocationOfValue(object value)
Parameters
System.Object value

A value from the axis values range.

Returns
System.Double

The location in pixels.

OnAttached(UIChartElement)

Called when the axis is attached to a parent element.

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

The parent chart element.

Overrides
Axis.OnAttached(UIChartElement)

OnDettached()

Called when the axis is detached from its parent element.

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

OnNotifyPropertyChanged(PropertyChangedEventArgs)

Raises the standard .NET PropertyChanged event.

Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs e

The property changed event arguments.

Overrides
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)

SyncVisualSettings()

Synchronizes the visual settings of the first series plotted upon this axis with the axis visual properties.

Declaration
protected virtual void SyncVisualSettings()

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.