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 AxisModel

Inheritance
System.Object
DisposableObject
PropertyBagObject
ChartNode
ChartElement
AxisModel
DateTimeContinuousAxisModel
NumericalAxisModel
Inherited Members
ChartElement.FindAncestor<T>()
ChartElement.IsAncestorOf(ChartNode)
ChartElement.FindDescendant<T>()
ChartElement.FindDescendant(Predicate<ChartNode>)
ChartElement.EnumDescendants()
ChartElement.EnumDescendants(TreeTraversalMode)
ChartElement.EnumDescendants(Predicate<ChartNode>, TreeTraversalMode)
ChartElement.DisposeManagedResources()
ChartElement.Presenter
ChartNode.Arrange(RadRect, Boolean)
ChartNode.Invalidate()
ChartNode.SetValueCore(Int32, Object)
ChartNode.ClearValueCore(Int32)
ChartNode.IsArrangeValid
ChartNode.NodeState
ChartNode.Index
ChartNode.CollectionIndex
ChartNode.IsTreeLoaded
ChartNode.LayoutSlot
ChartNode.Parent
ChartNode.PropertyChanged
PropertyBagObject.IsLocalValue(Int32)
PropertyBagObject.GetValue(Int32)
PropertyBagObject.SetValue(Int32, Object)
PropertyBagObject.ClearValue(Int32)
PropertyBagObject.GetTypedValue<T>(Int32, T)
PropertyBagObject.PropertyStore
DisposableObject.Dispose()
DisposableObject.DisposeUnmanagedResources()
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Events
DisposableObject.Disposing
DisposableObject.Disposed
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.Charting
Assembly: Telerik.WinControls.ChartView.dll

Syntax

public abstract class AxisModel : ChartElement, IDisposable, INotifyPropertyChanged

Constructors

AxisModel()

Initializes a new instance of the AxisModel class.

Declaration
public AxisModel()

Properties

BottomOrLeftTick

Gets the bottom/left tick present on the axis. Valid when the axis is loaded.

Declaration
public virtual AxisTickModel BottomOrLeftTick { get; }
Property Value
AxisTickModel

HorizontalLocation

Gets or sets the horizontal location of an axis (rendered vertically) in relation to the plot area.

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

The horizontal location.

IsInverse

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

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

LabelFitMode

Gets or sets a value that determines how the axis labels will be laid out when they are overlapping each other.

Declaration
public AxisLabelFitMode LabelFitMode { get; set; }
Property Value
AxisLabelFitMode

LabelFormat

Gets or sets the string that formats the labels of the axis.

Declaration
public string LabelFormat { get; set; }
Property Value
System.String

LabelInterval

Gets or sets the step at which labels are positioned.

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

LabelOffset

Gets or sets index offset from the first label to be displayed.

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

Labels

Gets all the labels currently present on the axis.

Declaration
public ElementCollection<AxisLabelModel> Labels { get; }
Property Value
ElementCollection<AxisLabelModel>

LastLabelVisibility

Gets or sets the strategy that defines the last axis label visibility.

Declaration
public AxisLastLabelVisibility LastLabelVisibility { get; set; }
Property Value
AxisLastLabelVisibility

LineThickness

Gets or sets the thickness of the axis line.

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

MajorTickLength

Gets or sets the length of a single tick presented on the axis.

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

MajorTickOffset

Gets or sets index offset of the first tick to be displayed.

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

MajorTicks

Gets the collection with all the major ticks, currently present on the axis.

Declaration
public IEnumerable<AxisTickModel> MajorTicks { get; }
Property Value
System.Collections.Generic.IEnumerable<AxisTickModel>

ShowLabels

Gets or sets a value indicating whether labels will be displayed on this axis.

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

TickThickness

Gets or sets the thickness of a single tick presented on the axis.

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

Title

Gets the AxisTitleModel instance that represents the title of this axis.

Declaration
public AxisTitleModel Title { get; }
Property Value
AxisTitleModel

TopOrRightTick

Gets the top/right tick present on the axis. Valid when the axis is loaded.

Declaration
public virtual AxisTickModel TopOrRightTick { get; }
Property Value
AxisTickModel

Type

Gets or sets the type (X or Y) of this instance.

Declaration
public AxisType Type { get; set; }
Property Value
AxisType

VerticalLocation

Gets or sets the vertical location of an axis (rendered horizontally) in relation to the plot area.

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

The vertical location.

Methods

BuildTicksAndLabels(RadSize)

Builds the ticks and labels.

Declaration
protected virtual bool BuildTicksAndLabels(RadSize availableSize)
Parameters
RadSize availableSize

Size of the available.

Returns
System.Boolean

UpdateLayoutStrategy()

Updates the layout strategy.

Declaration
protected void UpdateLayoutStrategy()

Extension Methods

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.