ChartDateAxisBuilder
Defines the fluent interface for configuring the date axis.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartDateAxisBuilder : ChartAxisBuilderBase<IChartDateAxis, DateTime, ChartDateAxisBuilder>
Inheritance: objectChartAxisBuilderBase<IChartDateAxis, DateTime, ChartDateAxisBuilder>ChartDateAxisBuilder
Inherited Members
Constructors
Initializes a new instance of the ChartDateAxisBuilder class.
Methods
Sets value at which the first perpendicular axis crosses this axis.
public ChartDateAxisBuilder AxisCrossingValue(DateTime axisCrossingValue)
The value at which the first perpendicular axis crosses this axis.
Returns:Sets value at which perpendicular axes cross this axis.
public ChartDateAxisBuilder AxisCrossingValue(IEnumerable<DateTime> axisCrossingValues)
The values at which perpendicular axes cross this axis.
Returns:Sets value at which perpendicular axes cross this axis.
public ChartDateAxisBuilder AxisCrossingValue(params DateTime[] axisCrossingValues)
The values at which perpendicular axes cross this axis.
Returns:Sets the date axis base unit.
public ChartDateAxisBuilder BaseUnit(ChartAxisBaseUnit baseUnit)
The Base Unit of the date axis.
Returns:Configures the axis labels.
public ChartDateAxisBuilder Labels(Action<ChartDateAxisLabelsBuilder> configurator)
The configuration action.
Returns:Sets the interval between major divisions in base units.
public ChartDateAxisBuilder MajorUnit(double majorUnit)
The interval between major divisions in base units.
Returns:Sets the end date of the axis.
public ChartDateAxisBuilder Max(DateTime max)
The end date of the axis.
Returns:Sets the start date of the axis.
public ChartDateAxisBuilder Min(DateTime min)
The start date of the axis.
Returns:Sets the interval between minor divisions in base units. It defaults to 1/5th of the majorUnit
public ChartDateAxisBuilder MinorUnit(double minorUnit)
The interval between minor divisions in base units.
Returns:Defines the items.
public ChartDateAxisBuilder Notes(Action<ChartAxisNotesBuilder> configurator)
The items of the notes.
Returns: