StockChartNavigatorCategoryAxisSettingsBuilder

Methods

AutoBaseUnitSteps(System.Action)

The discrete navigator.categoryAxis.baseUnitStep values when either navigator.categoryAxis.baseUnit is set to "fit" ornavigator.categoryAxis.baseUnitStep is set to "auto".

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisAutoBaseUnitStepsSettingsBuilder>

The configurator for the autobaseunitsteps setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

AxisCrossingValue(System.Object[])

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).

Parameters

value - System.Object[]

The value for AxisCrossingValue

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Background(System.String)

The background color of the axis.

Parameters

value - System.String

The value for Background

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

BaseUnitStep(System.Int32)

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".

Parameters

value - System.Int32

The value for BaseUnitStep

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Categories(System.Object[])

The category names. The chart will create a category for every item of the array.

Parameters

value - System.Object[]

The value for Categories

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Color(System.String)

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.

Parameters

value - System.String

The value for Color

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Crosshair(System.Action)

The crosshair configuration options.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisCrosshairSettingsBuilder>

The configurator for the crosshair setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

Field(System.String)

The data item field which contains the category name. Requires the dataSource option to be set.

Parameters

value - System.String

The value for Field

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Justified(System.Boolean)

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".

Parameters

value - System.Boolean

The value for Justified

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Justified()

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".

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Labels(System.Action)

The axis labels configuration.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisLabelsSettingsBuilder>

The configurator for the labels setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

Line(System.Action)

The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisLineSettingsBuilder>

The configurator for the line setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

MajorGridLines(System.Action)

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.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisMajorGridLinesSettingsBuilder>

The configurator for the majorgridlines setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

MajorTicks(System.Action)

The configuration of the category axis major ticks.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisMajorTicksSettingsBuilder>

The configurator for the majorticks setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

Max(System.Object)

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.

Parameters

value - System.Object

The value for Max

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

MaxDateGroups(System.Double)

The maximum number of groups (categories) to display whencategoryAxis.baseUnit is set to "fit" orcategoryAxis.baseUnitStep is set to "auto".

Parameters

value - System.Double

The value for MaxDateGroups

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

MaxDivisions(System.Double)

The maximum number of ticks and labels to display.

Parameters

value - System.Double

The value for MaxDivisions

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Min(System.Object)

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.

Parameters

value - System.Object

The value for Min

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

MinorGridLines(System.Action)

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.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisMinorGridLinesSettingsBuilder>

The configurator for the minorgridlines setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

MinorTicks(System.Action)

The configuration of the category axis minor ticks.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisMinorTicksSettingsBuilder>

The configurator for the minorticks setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

PlotBands(System.Action)

The plot bands of the category axis.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisSettingsPlotBandFactory>

The configurator for the plotbands setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

Reverse(System.Boolean)

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.

Parameters

value - System.Boolean

The value for Reverse

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Reverse()

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.

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

RoundToBaseUnit(System.Boolean)

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".

Parameters

value - System.Boolean

The value for RoundToBaseUnit

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Title(System.Action)

The title configuration of the category axis.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisTitleSettingsBuilder>

The configurator for the title setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

Visible(System.Boolean)

If set to true the chart will display the category axis. By default the category axis is visible.

Parameters

value - System.Boolean

The value for Visible

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

WeekStartDay(System.Double)

The week start day when categoryAxis.baseUnit is set to "weeks".The supported values are: kendo.days.Sunday - equal to 0; kendo.days.Monday - equal to 1; kendo.days.Tuesday - equal to 2; kendo.days.Wednesday - equal to 3; kendo.days.Thursday - equal to 4; kendo.days.Friday - equal to 5 or kendo.days.Saturday - equal to 6.

Parameters

value - System.Double

The value for WeekStartDay

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Notes(System.Action)

The category axis notes configuration.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisNotesSettingsBuilder>

The configurator for the notes setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisSettingsBuilder .

BaseUnit(Kendo.Mvc.UI.ChartAxisBaseUnit)

Specifies the base time interval for the axis.

Parameters

value - ChartAxisBaseUnit

The value for BaseUnit

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.

Type(Kendo.Mvc.UI.ChartCategoryAxisType)

Specifies the category axis type.

Parameters

value - ChartCategoryAxisType

The value for Type

RETURNS

Returns the current StockChartNavigatorCategoryAxisSettingsBuilder instance.