New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring StockChartNavigatorCategoryAxisLabelsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> where T : class

Inheritance: objectStockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

StockChartNavigatorCategoryAxisLabelsSettingsBuilder method.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder(StockChartNavigatorCategoryAxisLabelsSettings<T> container)
Parameters:containerStockChartNavigatorCategoryAxisLabelsSettings<T>

Properties

Gets or sets the Container.

C#
protected StockChartNavigatorCategoryAxisLabelsSettings<T> Container { get; }

Methods

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Background(string value)
Parameters:valuestring

The value for Background

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

The border of the labels.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Border(Action<StockChartNavigatorCategoryAxisLabelsBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<StockChartNavigatorCategoryAxisLabelsBorderSettingsBuilder<T>>

The StockChartNavigatorCategoryAxisLabelsBorderSettingsBuilder<T> for the border setting.

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Color(string value)
Parameters:valuestring

The value for Color

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Culture(string value)
Parameters:valuestring

The value for Culture

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> DateFormats(Action<StockChartNavigatorCategoryAxisLabelsDateFormatsSettingsBuilder<T>> configurator)
Parameters:configuratorAction<StockChartNavigatorCategoryAxisLabelsDateFormatsSettingsBuilder<T>>

The StockChartNavigatorCategoryAxisLabelsDateFormatsSettingsBuilder<T> for the dateformats setting.

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .

The font style of the labels.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Font(string value)
Parameters:valuestring

The value for Font

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Format(string value)
Parameters:valuestring

The value for Format

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Margin(Action<StockChartNavigatorCategoryAxisLabelsMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<StockChartNavigatorCategoryAxisLabelsMarginSettingsBuilder<T>>

The StockChartNavigatorCategoryAxisLabelsMarginSettingsBuilder<T> for the margin setting.

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .

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.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Mirror()
Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Mirror(bool value)
Parameters:valuebool

The value for Mirror

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Padding(Action<StockChartNavigatorCategoryAxisLabelsPaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<StockChartNavigatorCategoryAxisLabelsPaddingSettingsBuilder<T>>

The StockChartNavigatorCategoryAxisLabelsPaddingSettingsBuilder<T> for the padding setting.

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current instance of StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> .

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Rotation(double value)
Parameters:valuedouble

The value for Rotation

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Skip(double value)
Parameters:valuedouble

The value for Skip

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Step(double value)
Parameters:valuedouble

The value for Step

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Template(string value)
Parameters:valuestring

The value for Template

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for Template

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> TemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for Template

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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.

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.

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

C#
public StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> Visible(bool value)
Parameters:valuebool

The value for Visible

Returns:

StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T>

Returns the current StockChartNavigatorCategoryAxisLabelsSettingsBuilder<T> instance.