ChartXAxis
Represents the X-axis in a chart, providing configuration and rendering logic for horizontal axis values. Inherits all properties and methods from AxisBase.
Definition
Namespace:Telerik.Web.UI.HtmlChart.PlotArea
Assembly:Telerik.Web.UI.dll
Syntax:
public class ChartXAxis : AxisBase, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerAxisBaseChartXAxis
Implements:
Inherited Members
Constructors
public ChartXAxis()
Properties
Defines the different base unit steps to be used, when the BaseUnit="Auto"
[PersistenceMode(PersistenceMode.InnerProperty)]
public BaseUnitSteps AutoBaseUnitSteps { get; }
The collection specifies the crossing points of X and Y axes.
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisCrossingPointsCollection AxisCrossingPoints { get; }
This property is used with DateTime values only and it specifies the time interval of the axis labels.
public DateTimeBaseUnit BaseUnit { get; set; }
public int BaseUnitStep { get; set; }
The DataField with the labels text when the chart is bound to a datasource.
public string DataLabelsField { get; set; }
public bool EnableBaseUnitStepAuto { get; set; }
Gets a collection of AxisItem objects that allows for specifying the text of the axis labels
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisItemCollection Items { get; }
Gets a collection of AxisItem objects that allows for specifying the text of the axis labels
Use the Items collection to programmatically control the text of the axis labels
Get/Set whether the axis categories and series points will be positioned on major ticks. When set to true, removes the empty space before and after the series. Not needed for Area series.
public bool? Justified { get; set; }
This option is ignored if the series are of type "bar", "column", "boxPlot", "ohlc", "candlestick" or "waterfall". The default value is unset to preserve the default behavior of different series - it defaults to false for most series, but defaults to true for "area", "verticalArea", "rangeArea" and "verticalRangeArea".
Test
public int MaxDateGroups { get; set; }
Gets or Sets the starting angle of the XAxis for radial series (Radar and Polar) types
public int? StartAngle { get; set; }
Methods
protected override void TrackViewState()
Overrides: