StockChartNavigatorCategoryAxisLabelsSettingsBuilder

Methods

Background(System.String)

The background color of the labels. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Background

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Border(System.Action)

The border of the labels.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisLabelsBorderSettingsBuilder>

The configurator for the border setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder .

Color(System.String)

The text color of the labels. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Color

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Culture(System.String)

The culture to use when formatting date values. See the globalization overview for more information.

Parameters

value - System.String

The value for Culture

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

DateFormats(System.Action)

The format used to display the labels when the categories are dates. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisLabelsDateFormatsSettingsBuilder>

The configurator for the dateformats setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder .

Font(System.String)

The font style of the labels.

Parameters

value - System.String

The value for Font

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Format(System.String)

The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.

Parameters

value - System.String

The value for Format

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Margin(System.Action)

The margin of the labels. A numeric value will set all margins.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisLabelsMarginSettingsBuilder>

The configurator for the margin setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder .

Mirror(System.Boolean)

If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.

Parameters

value - System.Boolean

The value for Mirror

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Mirror()

If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Padding(System.Action)

The padding of the labels. A numeric value will set all paddings.

Parameters

configurator - System.Action<StockChartNavigatorCategoryAxisLabelsPaddingSettingsBuilder>

The configurator for the padding setting.

RETURNS

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder .

Rotation(System.Double)

The rotation angle of the labels. By default the labels are not rotated.

Parameters

value - System.Double

The value for Rotation

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Skip(System.Double)

The number of labels to skip. By default no labels are skipped.

Parameters

value - System.Double

The value for Skip

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Step(System.Double)

The label rendering step - render every n-th label. By default every label is rendered.

Parameters

value - System.Double

The value for Step

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Template(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.

Parameters

value - System.String

The value for Template

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

TemplateId(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.

Parameters

templateId - System.String

The ID of the template element for Template

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

TemplateHandler(System.String)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.

Parameters

templateHandler - System.String

The handler that returs the template for Template

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item for the category; format - the default format of the label; culture - the default culture (if set) on the label; index - the 0-based index of the current label or count - the total number of labels on the axis.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.

Visible(System.Boolean)

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

Parameters

value - System.Boolean

The value for Visible

RETURNS

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder instance.