Class ChartXAxis
Represents the X Axis.
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class ChartXAxis : ChartAxis, IChartingStateManagedItem, IChartingStateManager, 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
GetAxisEndCoord()
Gets the end value coordinate
Declaration
protected override float GetAxisEndCoord()
Returns
|
System.Single
Coordinate |
Overrides
GetAxisStartCoord()
Gets the start value coordinate
Declaration
protected override float GetAxisStartCoord()
Returns
|
System.Single
Coordinate |
Overrides
GetPixelStep()
Returns axis step in pixels
Declaration
protected float GetPixelStep()
Returns
|
System.Single
|