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

Kendo UI ChartPlotBandLabel class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartPlotBandLabel

Inheritance: objectChartPlotBandLabel

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

Constructors

C#
public ChartPlotBandLabel()

Properties

The position of the plotband label.The supported values are: "left" - the plotband label is positioned on the left; "right" - the plotband label is positioned on the right or "center" - the plotband label is positioned in the center.

C#
public string Align { get; set; }

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

C#
public string Background { get; set; }

The border of the label.

C#
public ChartPlotBandLabelBorder Border { get; set; }

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

C#
public string Color { get; set; }

The font style of the label.

C#
public string Font { get; set; }

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

C#
public ChartPlotBandLabelSpacing Margin { get; set; }

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

C#
public ChartPlotBandLabelSpacing Padding { get; set; }

The position of the label.The supported values are: "top" - the axis label is positioned on the top; "bottom" - the axis label is positioned on the bottom or "center" - the axis label is positioned in the center.

C#
public string Position { get; set; }

The rotation angle of the label. By default the label is not rotated.

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

The text of the label.

C#
public string Text { get; set; }

If set to false the chart will not display the label.

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

A function that can be used to create a custom visual for the label. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

C#
public ClientHandlerDescriptor Visual { get; set; }

Methods

Serialize current instance to Dictionary

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

Dictionary<string, object>