ChartXAxis
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
Creates a new instance of the ChartXAxis class.
public ChartXAxis(ChartPlotArea parent, IContainer container)
Creates a new instance of the ChartXAxis class.
Fields
pixelStep
float
Cached pixel step value.
protected float pixelStep
Properties
AutoShrink
bool
Specifies whether the axis is auto shrink or not.
[Browsable(true)]
public bool AutoShrink { get; set; }
DataLabelsColumn
string
The data source column used as axis items labels source
public string DataLabelsColumn { get; set; }
IsDataBound
bool
Gets whether X ChartAxis data bound or not
[Browsable(false)]
public bool IsDataBound { get; }
Specifies the layout style of the axis.
[Browsable(true)]
public ChartAxisLayoutMode LayoutMode { get; set; }
Methods
Adds a new axis item.
public void AddItem(string label, Color color)
Item text
colorColorItem text color
Adds a new axis item.
public void AddItem(string label)
Item text
Clears all data bound settings for axis
public void ClearDataBoundState()
Restores initial values of cached axis settings
protected override void DisableCachedValues()
Overrides:
GetAxisEndCoord()
float
Gets the end value coordinate
protected override float GetAxisEndCoord()
float
Coordinate
Overrides:
GetAxisStartCoord()
float
Gets the start value coordinate
protected override float GetAxisStartCoord()
float
Coordinate
Overrides:
GetPixelStep()
float
Returns axis step in pixels
protected float GetPixelStep()
float