ClassChartXAxis
Represents the X Axis.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ChartXAxis : ChartAxis, IChartingStateManagedItem, IChartingStateManager, IOrdering
Inheritance: objectStateManagedObjectRenderedObjectChartAxisChartXAxis
Implements:
Inherited Members
Constructors
ChartXAxis(ChartPlotArea)
Creates a new instance of the ChartXAxis class.
Declaration
public ChartXAxis(ChartPlotArea parent)
Parameters
parent
ChartXAxis(ChartPlotArea, IContainer)
Creates a new instance of the ChartXAxis class.
Declaration
public ChartXAxis(ChartPlotArea parent, IContainer container)
Parameters
parent
container
Fields
Properties
AutoShrink
Specifies whether the axis is auto shrink or not.
Declaration
[Browsable(true)]
public bool AutoShrink { get; set; }
Property Value
DataLabelsColumn
The data source column used as axis items labels source
IsDataBound
Gets whether X ChartAxis data bound or not
Declaration
[Browsable(false)]
public bool IsDataBound { get; }
Property Value
LayoutMode
Specifies the layout style of the axis.
Declaration
[Browsable(true)]
public ChartAxisLayoutMode LayoutMode { get; set; }
Property Value
Methods
AddItem(string)
Adds a new axis item.
AddItem(string, Color)
Adds a new axis item.
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
GetAxisEndCoord()
Gets the end value coordinate
Declaration
protected override float GetAxisEndCoord()
Returns
Coordinate
Overrides
GetAxisStartCoord()
Gets the start value coordinate
Declaration
protected override float GetAxisStartCoord()
Returns
Coordinate
Overrides
GetPixelStep()
Returns axis step in pixels