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

Kendo UI StockChartNavigatorCategoryAxisLabelsSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectStockChartNavigatorCategoryAxisLabelsSettings<T>

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

Constructors

C#
public StockChartNavigatorCategoryAxisLabelsSettings()

Properties

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

C#
public string Background { get; set; }

The border of the labels.

C#
public StockChartNavigatorCategoryAxisLabelsBorderSettings<T> Border { get; }

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

C#
public string Color { get; set; }

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

C#
public string Culture { get; set; }

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 StockChartNavigatorCategoryAxisLabelsDateFormatsSettings<T> DateFormats { get; }

The font style of the labels.

C#
public string Font { get; set; }

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

C#
public string Format { get; set; }

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

C#
public StockChartNavigatorCategoryAxisLabelsMarginSettings<T> Margin { get; }

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 bool? Mirror { get; set; }

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

C#
public StockChartNavigatorCategoryAxisLabelsPaddingSettings<T> Padding { get; }

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

C#
public double? Rotation { get; set; }

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

C#
public double? Skip { get; set; }

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

C#
public double? Step { get; set; }

StockChart member.

C#
public StockChart<T> StockChart { get; set; }

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 string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

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

C#
public bool? Visible { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>