ClassChartXAxis
Represents the X Axis.
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.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
pixelStep
Cached pixel step value.
Declaration
protected float pixelStep
Field Value
float
Properties
AutoShrink
Specifies whether the axis is auto shrink or not.
Declaration
[Browsable(true)]
public bool AutoShrink { get; set; }
Property Value
bool
DataLabelsColumn
The data source column used as axis items labels source
Declaration
public string DataLabelsColumn { get; set; }
Property Value
string
IsDataBound
Gets whether X ChartAxis data bound or not
Declaration
[Browsable(false)]
public bool IsDataBound { get; }
Property Value
bool
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.
Declaration
public void AddItem(string label)
Parameters
label
string
Item text
AddItem(string, Color)
Adds a new axis item.
Declaration
public void AddItem(string label, Color color)
Parameters
label
string
Item text
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
float
Coordinate
Overrides
GetAxisStartCoord()
Gets the start value coordinate
Declaration
protected override float GetAxisStartCoord()
Returns
float
Coordinate
Overrides
GetPixelStep()
Returns axis step in pixels
Declaration
protected float GetPixelStep()
Returns
float