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 Axis2D<TItemType>

This class represents a chart Axis Control.

Inheritance
System.Object
Axis2DBase<TItemType>
Axis2D<TItemType>
AxisX2D
AxisY2D
Inherited Members
Axis2DBase<TItemType>.IsItemItsOwnContainerOverride(Object)
Axis2DBase<TItemType>.GetContainerForItemOverride()
Axis2DBase<TItemType>.PrepareContainerForItemOverride(DependencyObject, Object)
Axis2DBase<TItemType>.ClearContainerForItemOverride(DependencyObject, Object)
Axis2DBase<TItemType>.OnInitialized(EventArgs)
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public abstract class Axis2D<TItemType> : Axis2DBase<TItemType>, ISupportsDataAxis, ILogicalItem, IAxis2D, ISupportsDataAxisChanged where TItemType : DependencyObject, new()
Type Parameters
TItemType

Constructors

Axis2D()

Initializes a new instance of the Axis2D class.

Declaration
protected Axis2D()

Fields

AxisLabelsVisibilityProperty

Identifies the AxisLabelsVisibility dependency property.

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

AxisLineStyleProperty

Identifies the AxisLineStyle dependency property.

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

AxisMinorTicksVisibilityProperty

Identifies the AxisMinorTicksVisibility dependency property.

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

AxisTicksVisibilityProperty

Identifies the AxisTicksVisibility dependency property.

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

AxisTitleStyleProperty

Identifies the AxisTitleStyle dependency property.

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

AxisTitleVisibilityProperty

Identifies the AxisTitleVisibility dependency property.

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

InnerPositionProperty

Identifies the InnerPosition dependency property.

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

IsSecondaryProperty

Identifies the IsSecondary dependency property.

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

OuterPositionProperty

Identifies the OuterPosition dependency property.

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

PrimaryAxisTitleStyleProperty

Identifies the PrimaryAxisTitleStyle dependency property.

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

SecondaryAxisTitleStyleProperty

Identifies the SecondaryAxisTitleStyle dependency property.

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

SliderPositionProperty

Identifies the SliderPosition dependency property.

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

Properties

AxisLabelsVisibility

Gets or sets the axis labels visibility.

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

The axis labels visibility.

AxisLineStyle

Gets or sets the axis line style.

Declaration
public Style AxisLineStyle { get; set; }
Property Value
System.Windows.Style

The axis line style.

AxisMinorTicksVisibility

Gets or sets the axis minor ticks visibility.

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

The axis minor ticks visibility.

AxisTicksVisibility

Gets or sets the axis ticks visibility.

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

The axis ticks visibility.

AxisTitleStyle

Gets or sets the axis title style.

Declaration
public Style AxisTitleStyle { get; set; }
Property Value
System.Windows.Style

The axis title style.

AxisTitleVisibility

Gets or sets the axis title visibility.

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

The axis title visibility.

DataAxis

Gets the DataAxis associated with the respective axis element.

Declaration
public override IDataAxis DataAxis { get; set; }
Property Value
IDataAxis

Overrides
Telerik.Windows.Controls.Charting.Axis2DBase<TItemType>.DataAxis

InnerPosition

Gets or sets the inner position.

Declaration
public int InnerPosition { get; set; }
Property Value
System.Int32

The inner position.

IsSecondary

Gets or sets a value indicating whether this axis is secondary.

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

True if this axis is secondary; otherwise, false.

OuterPosition

Gets or sets the outer position.

Declaration
public int OuterPosition { get; set; }
Property Value
System.Int32

The inner position.

PrimaryAxisTitleStyle

Gets or sets the axis title style for primary axis.

Declaration
public Style PrimaryAxisTitleStyle { get; set; }
Property Value
System.Windows.Style

The axis title style.

SecondaryAxisTitleStyle

Gets or sets the axis title style for secondary axes.

Declaration
public Style SecondaryAxisTitleStyle { get; set; }
Property Value
System.Windows.Style

The axis title style.

SliderPosition

Gets or sets the slider position.

Declaration
public int SliderPosition { get; set; }
Property Value
System.Int32

The slider position.

Methods

AxisSizeChanged(Object, SizeChangedEventArgs)

Handles the SizeChanged event of the Axis2D control.

Declaration
protected virtual void AxisSizeChanged(object sender, SizeChangedEventArgs e)
Parameters
System.Object sender

The source of the event.

System.Windows.SizeChangedEventArgs e

The System.Windows.SizeChangedEventArgs instance containing the event data.

GetLength(Size)

Gets the length.

Declaration
protected abstract double GetLength(Size size)
Parameters
System.Windows.Size size

The size.

Returns
System.Double

MeasureOverride(Size)

Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.

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

The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Returns
System.Windows.Size

The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.

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()

Events

DataAxisChanged

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

Declaration
public event EventHandler<DataAxisChangedEventArgs> DataAxisChanged
Event Type
System.EventHandler<DataAxisChangedEventArgs>

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.