ChartXAxis
Class
Represents the X Axis.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ChartXAxis : ChartAxis, IChartingStateManagedItem, IChartingStateManager, IOrdering
Inheritance: objectStateManagedObjectRenderedObjectChartAxisChartXAxis
Implements:
Inherited Members
Constructors
Creates a new instance of the ChartXAxis class.
C#
public ChartXAxis(ChartPlotArea parent, IContainer container)
Creates a new instance of the ChartXAxis class.
Fields
Properties
Specifies whether the axis is auto shrink or not.
C#
[Browsable(true)]
public bool AutoShrink { get; set; }
The data source column used as axis items labels source
C#
public string DataLabelsColumn { get; set; }
Gets whether X ChartAxis data bound or not
C#
[Browsable(false)]
public bool IsDataBound { get; }
Specifies the layout style of the axis.
C#
[Browsable(true)]
public ChartAxisLayoutMode LayoutMode { get; set; }
Methods
Adds a new axis item.
Clears all data bound settings for axis
C#
public void ClearDataBoundState()
Restores initial values of cached axis settings
C#
protected override void DisableCachedValues()
Overrides:
Gets the end value coordinate
Gets the start value coordinate
Returns axis step in pixels