Kendo UI ChartAxisDefaultsTitleSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartAxisDefaultsTitleSettings<T> where T : class
Inheritance: objectChartAxisDefaultsTitleSettings<T>
Inherited Members
Constructors
public ChartAxisDefaultsTitleSettings()
Properties
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public string Background { get; set; }
The border of the title.
public ChartAxisDefaultsTitleBorderSettings<T> Border { get; }
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
The margin of the title. A numeric value will set all margins.
public ChartAxisDefaultsTitleMarginSettings<T> Margin { get; }
The padding of the title. A numeric value will set all paddings.
public ChartAxisDefaultsTitlePaddingSettings<T> Padding { get; }
The position of the title.The supported values are: "top" - the axis title is positioned on the top (applicable to vertical axis); "bottom" - the axis title is positioned on the bottom (applicable to vertical axis); "left" - the axis title is positioned on the left (applicable to horizontal axis); "right" - the axis title is positioned on the right (applicable to horizontal axis) or "center" - the axis title is positioned in the center.
public string Position { get; set; }
The rotation angle of the title. By default the title is not rotated.
public double? Rotation { get; set; }
If set to true the chart will display the axis title. By default the axis title is visible.
public bool? Visible { get; set; }
A function that can be used to create a custom visual for the title. 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..
public ClientHandlerDescriptor Visual { get; set; }
Methods
Serializes the settings to a Dictionary.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()