New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the Chart category axis settings.

Definition

Constructors

Initializes a new instance of the ChartCategoryAxis<T> class.

C#
public ChartCategoryAxis(Chart<T> chart)
Parameters:chartChart<T>

The chart.

Properties

Specifies the discrete BaseUnitStep values when either BaseUnit is set to Fit or BaseUnitStep is set to 0 (auto).

C#
public ChartAxisBaseUnitSteps AutoBaseUnitSteps { get; set; }

Implements: IChartCategoryAxis.AutoBaseUnitStepsIChartDateCategoryAxis.AutoBaseUnitSteps

The values at which perpendicular axes cross this axis.

C#
public IEnumerable<double> AxisCrossingValues { get; set; }

Implements: IChartCategoryAxis.AxisCrossingValuesIChartDateCategoryAxis.AxisCrossingValues

Specifies the date category axis base unit.

C#
public ChartAxisBaseUnit? BaseUnit { get; set; }

Implements: IChartCategoryAxis.BaseUnitIChartDateCategoryAxis.BaseUnit

Sets the step (interval) between categories in base units.

C#
public int? BaseUnitStep { get; set; }

Implements: IChartCategoryAxis.BaseUnitStepIChartDateCategoryAxis.BaseUnitStep

The categories displayed on the axis

C#
public IEnumerable Categories { get; set; }

Implements: IChartCategoryAxis.CategoriesIChartDateCategoryAxis.Categories

The highlight configuration options for the category axis.

C#
public ChartCategoryAxisHighlightSettings Highlight { get; set; }

Implements: IChartCategoryAxis.Highlight

Positions categories and series points on major ticks. This removes the empty space before and after the series. This option will be ignored if either Bar, Column, OHLC or Candlestick series are plotted on the axis.

C#
public bool? Justified { get; set; }

Implements: IChartCategoryAxis.JustifiedIChartDateCategoryAxis.Justified

Specifies the category axis maximum value.

C#
public object Max { get; set; }

Implements: IChartCategoryAxis.MaxIChartDateCategoryAxis.Max

Specifies the maximum number of groups (categories) to produce when either BaseUnit is set to Fit or BaseUnitStep is set to 0 (auto). This option is ignored in all other cases.

C#
public int? MaxDateGroups { get; set; }

Implements: IChartCategoryAxis.MaxDateGroupsIChartDateCategoryAxis.MaxDateGroups

The maximum number of ticks and labels to display. Applicabable for date category axis.

C#
public double? MaxDivisions { get; set; }

Implements: IChartCategoryAxis.MaxDivisionsIChartDateCategoryAxis.MaxDivisions

Gets the member name to be used as category.

C#
public string Member { get; set; }
Property Value:

The member.

Implements: IChartCategoryAxis.MemberIChartDateCategoryAxis.Member

Specifies the date category axis minimum value.

C#
public object Min { get; set; }

Implements: IChartCategoryAxis.MinIChartDateCategoryAxis.Min

Gets or sets the plot bands list.

C#
public IList<ChartPlotBand> PlotBands { get; set; }

Implements: IChartAxis<int>.PlotBandsIChartAxis<DateTime>.PlotBands

If set to false, the min and max dates will not be rounded off to the nearest baseUnit. This option is most useful in combination with explicit min and max dates. It will be ignored if either Bar, Column, OHLC or Candlestick series are plotted on the axis.

C#
public bool? RoundToBaseUnit { get; set; }
Property Value:

A boolean value that indicates if the axis range should be rounded to the nearest base unit. The default value is true.

Implements: IChartCategoryAxis.RoundToBaseUnitIChartDateCategoryAxis.RoundToBaseUnit

Gets or sets the axis selection.

C#
public ChartAxisSelection Select { get; set; }

Implements: IChartCategoryAxis.SelectIChartDateCategoryAxis.Select

Specifies the category axis type.

C#
public ChartCategoryAxisType? Type { get; set; }

Implements: IChartCategoryAxis.TypeIChartDateCategoryAxis.Type

The week start day when the base unit is Weeks. The default is Sunday.

C#
public DayOfWeek? WeekStartDay { get; set; }

Implements: IChartCategoryAxis.WeekStartDayIChartDateCategoryAxis.WeekStartDay

Methods

Creates a new ChartCategoryAxisSerializer.

C#
public override IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The ChartCategoryAxisSerializer instance.

Overrides: ChartAxisBase<T, DateTime>.CreateSerializer()

Implements: IChartAxisBase.CreateSerializer()