ChartCategoryAxis<T>
Defines the Chart category axis settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartCategoryAxis<T> : ChartAxisBase<T, DateTime>, IChartCategoryAxis, IChartAxis<int>, IChartDateCategoryAxis, IChartAxis<DateTime>, IChartAxisBase where T : class
Inheritance: objectChartAxisBase<T, DateTime>ChartCategoryAxis<T>
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartCategoryAxis<T> class.
Properties
Specifies the discrete BaseUnitStep values when either BaseUnit is set to Fit or BaseUnitStep is set to 0 (auto).
public ChartAxisBaseUnitSteps AutoBaseUnitSteps { get; set; }
Implements:
The values at which perpendicular axes cross this axis.
public IEnumerable<double> AxisCrossingValues { get; set; }
Implements:
Specifies the date category axis base unit.
public ChartAxisBaseUnit? BaseUnit { get; set; }
Implements:
Sets the step (interval) between categories in base units.
public int? BaseUnitStep { get; set; }
Implements:
The categories displayed on the axis
public IEnumerable Categories { get; set; }
Implements:
The highlight configuration options for the category axis.
public ChartCategoryAxisHighlightSettings Highlight { get; set; }
Implements:
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.
public bool? Justified { get; set; }
Implements:
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.
public int? MaxDateGroups { get; set; }
Implements:
The maximum number of ticks and labels to display. Applicabable for date category axis.
public double? MaxDivisions { get; set; }
Implements:
Gets the member name to be used as category.
public string Member { get; set; }
The member.
Implements:
Specifies the date category axis minimum value.
public object Min { get; set; }
Implements:
Gets or sets the plot bands list.
public IList<ChartPlotBand> PlotBands { get; set; }
Implements:
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.
public bool? RoundToBaseUnit { get; set; }
A boolean value that indicates if the axis range should be rounded to the nearest base unit. The default value is true.
Implements:
Gets or sets the axis selection.
public ChartAxisSelection Select { get; set; }
Implements:
Specifies the category axis type.
public ChartCategoryAxisType? Type { get; set; }
Implements:
The week start day when the base unit is Weeks. The default is Sunday.
public DayOfWeek? WeekStartDay { get; set; }
Implements:
Methods
Creates a new ChartCategoryAxisSerializer.
public override IChartSerializer CreateSerializer()
The ChartCategoryAxisSerializer instance.
Overrides:
Implements: