Defines the fluent API for configuring StockChartNavigatorCategoryAxisSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class StockChartNavigatorCategoryAxisSettingsBuilder<T> where T : class
Inheritance: objectStockChartNavigatorCategoryAxisSettingsBuilder<T>
Inherited Members
Constructors
StockChartNavigatorCategoryAxisSettingsBuilder method.
public StockChartNavigatorCategoryAxisSettingsBuilder(StockChartNavigatorCategoryAxisSettings<T> container)
Properties
Gets or sets the Container.
protected StockChartNavigatorCategoryAxisSettings<T> Container { get; }
Methods
The discrete navigator.categoryAxis.baseUnitStep values when either navigator.categoryAxis.baseUnit is set to "fit" ornavigator.categoryAxis.baseUnitStep is set to "auto".
public StockChartNavigatorCategoryAxisSettingsBuilder<T> AutoBaseUnitSteps(Action<StockChartNavigatorCategoryAxisAutoBaseUnitStepsSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisAutoBaseUnitStepsSettingsBuilder<T> for the autobaseunitsteps setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
Category index at which the first value axis crosses this axis (when set as an object).Category indices at which the value axes cross the category axis (when set as an array).
public StockChartNavigatorCategoryAxisSettingsBuilder<T> AxisCrossingValue(params object[] value)
The value for AxisCrossingValue
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The background color of the axis.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Background(string value)
The value for Background
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
Specifies the base time interval for the axis.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> BaseUnit(ChartAxisBaseUnit value)
The value for BaseUnit
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The step (interval) between categories in base units. Setting it to "auto" will set the step to such value that the total number of categories does not exceed categoryAxis.maxDateGroups.This option is ignored if categoryAxis.baseUnit is set to "fit".
public StockChartNavigatorCategoryAxisSettingsBuilder<T> BaseUnitStep(int value)
The value for BaseUnitStep
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Categories(params object[] value)
The value for Categories
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb. Can be overridden by categoryAxis.labels.color andcategoryAxis.line.color.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Color(string value)
The value for Color
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The crosshair configuration options.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Crosshair(Action<StockChartNavigatorCategoryAxisCrosshairSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisCrosshairSettingsBuilder<T> for the crosshair setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The data item field which contains the category name. Requires the dataSource option to be set.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Field(string value)
The value for Field
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
If set to true the chart will position categories and series points on major ticks. This removes the empty space before and after the series.The default value is false except for "area" and "verticalArea".
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Justified()
StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
If set to true the chart will position categories and series points on major ticks. This removes the empty space before and after the series.The default value is false except for "area" and "verticalArea".
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Justified(bool value)
The value for Justified
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The axis labels configuration.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Labels(Action<StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> for the labels setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Line(Action<StockChartNavigatorCategoryAxisLineSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisLineSettingsBuilder<T> for the line setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the chart.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> MajorGridLines(Action<StockChartNavigatorCategoryAxisMajorGridLinesSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisMajorGridLinesSettingsBuilder<T> for the majorgridlines setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The configuration of the category axis major ticks.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> MajorTicks(Action<StockChartNavigatorCategoryAxisMajorTicksSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisMajorTicksSettingsBuilder<T> for the majorticks setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The last date displayed on the category date axis. By default, the minimum date is the same as the last category. This is often used in combination with the categoryAxis.min and categoryAxis.roundToBaseUnit options to set up a fixed date range.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Max(object value)
The value for Max
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The maximum number of groups (categories) to display whencategoryAxis.baseUnit is set to "fit" orcategoryAxis.baseUnitStep is set to "auto".
public StockChartNavigatorCategoryAxisSettingsBuilder<T> MaxDateGroups(double value)
The value for MaxDateGroups
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The maximum number of ticks and labels to display.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> MaxDivisions(double value)
The value for MaxDivisions
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The first date displayed on the category date axis. By default, the minimum date is the same as the first category. This is often used in combination with the categoryAxis.min and categoryAxis.roundToBaseUnit options to set up a fixed date range.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Min(object value)
The value for Min
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the chart.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> MinorGridLines(Action<StockChartNavigatorCategoryAxisMinorGridLinesSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisMinorGridLinesSettingsBuilder<T> for the minorgridlines setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The configuration of the category axis minor ticks.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> MinorTicks(Action<StockChartNavigatorCategoryAxisMinorTicksSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisMinorTicksSettingsBuilder<T> for the minorticks setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The category axis notes configuration.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Notes(Action<StockChartNavigatorCategoryAxisNotesSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisNotesSettingsBuilder<T> for the notes setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
The plot bands of the category axis.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> PlotBands(Action<StockChartNavigatorCategoryAxisSettingsPlotBandFactory<T>> configurator)
The StockChartNavigatorCategoryAxisSettingsPlotBandFactory<T> for the plotbands setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
If set to true the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Reverse()
StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
If set to true the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Reverse(bool value)
The value for Reverse
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
If set to true the chart will round the first and last date to the nearest base unit.The roundToBaseUnit option will be ignored if series.type is set to "bar", "column", "ohlc" or "candlestick".
public StockChartNavigatorCategoryAxisSettingsBuilder<T> RoundToBaseUnit(bool value)
The value for RoundToBaseUnit
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
The title configuration of the category axis.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Title(Action<StockChartNavigatorCategoryAxisTitleSettingsBuilder<T>> configurator)
The StockChartNavigatorCategoryAxisTitleSettingsBuilder<T> for the title setting.
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder<T> .
Specifies the category axis type.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Type(ChartCategoryAxisType value)
The value for Type
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
If set to true the chart will display the category axis. By default the category axis is visible.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.
public StockChartNavigatorCategoryAxisSettingsBuilder<T> WeekStartDay(double value)
The value for WeekStartDay
Returns:StockChartNavigatorCategoryAxisSettingsBuilder<T>
Returns the current StockChartNavigatorCategoryAxisSettingsBuilder<T> instance.