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
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class ChartXAxis

Represents the X Axis.

Inheritance
System.Object
StateManagedObject
RenderedObject
ChartAxis
ChartXAxis
Inherited Members
ChartAxis.chartAxisAppearance
ChartAxis.chartAxisLabel
ChartAxis.chartAxisItems
ChartAxis.chartAxisParent
ChartAxis.chartAxisRealIsZeroBased
ChartAxis.chartAxisMinItemValue
ChartAxis.chartAxisMaxItemValue
ChartAxis.chartAxisMinAxisValue
ChartAxis.chartAxisMaxAxisValue
ChartAxis.chartAxisPointStart
ChartAxis.chartAxisPointEnd
ChartAxis.pixelsPerValue
ChartAxis.zeroCoord
ChartAxis.TrackViewState()
ChartAxis.LoadViewState(Object)
ChartAxis.SaveViewState()
ChartAxis.GetDistance(PointF, PointF)
ChartAxis.SetMinValue(Double)
ChartAxis.ShouldSerializeMinValue()
ChartAxis.ResetMinValue()
ChartAxis.ShouldSerializeMaxValue()
ChartAxis.ResetMaxValue()
ChartAxis.SetMaxValue(Double)
ChartAxis.ShouldSerializeStep()
ChartAxis.ResetStep()
ChartAxis.AutoCalcAxisExtents()
ChartAxis.AddItem(ChartAxisItem, ChartAxisItem[])
ChartAxis.AddItem(ChartAxisItemsCollection)
ChartAxis.AddItem(ChartAxisItem[])
ChartAxis.AddItem(List<ChartAxisItem>)
ChartAxis.GetItem(Int32)
ChartAxis.RemoveAllItems()
ChartAxis.RemoveItem(ChartAxisItem, ChartAxisItem[])
ChartAxis.RemoveItem(Int32, Int32[])
ChartAxis.RemoveItem(Int32)
ChartAxis.RemoveLastItem()
ChartAxis.Clear()
ChartAxis.AddRange(Double, Double, Double)
ChartAxis.AddItem(String, Color, Boolean)
ChartAxis.SetItemLabel(Int32, String)
ChartAxis.SetItemLabel(Int32, ChartAxisItem)
ChartAxis.SetItemColor(Int32, Color)
ChartAxis.Dispose(Boolean)
ChartAxis.Visible
ChartAxis.Item[Int32]
ChartAxis.AutoScale
ChartAxis.Appearance
ChartAxis.AxisLabel
ChartAxis.Parent
ChartAxis.MinValue
ChartAxis.MaxValue
ChartAxis.Step
ChartAxis.IsZeroBased
ChartAxis.MaxItemsCount
ChartAxis.VisibleValues
ChartAxis.LabelStep
ChartAxis.Items
RenderedObject.objectContainer
RenderedObject.GetOrder()
RenderedObject.SetOrder(Int32)
RenderedObject.Remove()
RenderedObject.BringForward()
RenderedObject.BringToFront()
RenderedObject.SendBackward()
RenderedObject.SendToBack()
RenderedObject.Container
StateManagedObject.IChartingStateManager.LoadViewState(Object)
StateManagedObject.IChartingStateManager.SaveViewState()
StateManagedObject.IChartingStateManager.TrackViewState()
StateManagedObject.CloneState()
StateManagedObject.SetDirty()
StateManagedObject.ToString()
StateManagedObject.Dispose()
StateManagedObject.ViewStateIgnoresCase
StateManagedObject.IChartingStateManager.IsTrackingViewState
Namespace: Telerik.Reporting.Charting
Assembly: Telerik.Reporting.dll

Syntax

public class ChartXAxis : ChartAxis, IChartingStateManagedItem, IChartingStateManager, IDisposable, IOrdering

Constructors

ChartXAxis(ChartPlotArea)

Creates a new instance of the ChartXAxis class.

Declaration
public ChartXAxis(ChartPlotArea parent)
Parameters
ChartPlotArea parent

ChartXAxis(ChartPlotArea, IContainer)

Creates a new instance of the ChartXAxis class.

Declaration
public ChartXAxis(ChartPlotArea parent, IContainer container)
Parameters
ChartPlotArea parent

IContainer container

Fields

pixelStep

Cached pixel step value.

Declaration
protected float pixelStep
Field Value
System.Single

Properties

AutoShrink

Specifies whether the axis is auto shrink or not.

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

DataLabelsColumn

The data source column used as axis items labels source

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

IsDataBound

Gets whether X ChartAxis data bound or not

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

LayoutMode

Specifies the layout style of the axis.

Declaration
public ChartAxisLayoutMode LayoutMode { get; set; }
Property Value
ChartAxisLayoutMode

Methods

AddItem(String)

Adds a new axis item.

Declaration
public void AddItem(string label)
Parameters
System.String label

Item text

AddItem(String, Color)

Adds a new axis item.

Declaration
public void AddItem(string label, Color color)
Parameters
System.String label

Item text

System.Drawing.Color color

Item text color

ClearDataBoundState()

Clears all data bound settings for axis

Declaration
public void ClearDataBoundState()

DisableCachedValues()

Restores initial values of cached axis settings

Declaration
protected override void DisableCachedValues()
Overrides
ChartAxis.DisableCachedValues()

GetAxisEndCoord()

Gets the end value coordinate

Declaration
protected override float GetAxisEndCoord()
Returns
System.Single

Coordinate

Overrides
ChartAxis.GetAxisEndCoord()

GetAxisStartCoord()

Gets the start value coordinate

Declaration
protected override float GetAxisStartCoord()
Returns
System.Single

Coordinate

Overrides
ChartAxis.GetAxisStartCoord()

GetPixelStep()

Returns axis step in pixels

Declaration
protected float GetPixelStep()
Returns
System.Single

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting 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.