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

Kendo UI ChartAxisDefaultsSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartAxisDefaultsSettings<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 ChartAxisDefaultsSettings()

Properties

The background color of the axis.

C#
public string Background { get; set; }

Chart member.

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

The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb.

C#
public string Color { get; set; }

The crosshair configuration options.

C#
public ChartAxisDefaultsCrosshairSettings<T> Crosshair { get; }

The axis labels configuration.

C#
public ChartAxisDefaultsLabelsSettings<T> Labels { get; }

The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.

C#
public ChartAxisDefaultsLineSettings<T> Line { get; }

The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the chart.

C#
public ChartAxisDefaultsMajorGridLinesSettings<T> MajorGridLines { get; }

The configuration of the axis major ticks.

C#
public ChartAxisDefaultsMajorTicksSettings<T> MajorTicks { get; }

The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the chart.

C#
public ChartAxisDefaultsMinorGridLinesSettings<T> MinorGridLines { get; }

The configuration of the axis minor ticks.

C#
public ChartAxisDefaultsMinorTicksSettings<T> MinorTicks { get; }

If set to true the chart will prevent the axis range from snapping to 0. Setting it to false will force the axis range to snap to 0.

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

The name of the pane that the axis should be rendered in. The axis will be rendered in the first (default) pane if not set.

C#
public string Pane { get; set; }

The plot bands of the axis.

C#
public List<ChartAxisDefaultsSettingsPlotBand<T>> PlotBands { get; set; }

If set to true the axis direction will be reversed. By default categories are listed from left to right and from bottom to top.

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

The angle (degrees) of the first category on the axis.Angles increase clockwise and zero is to the left. Negative values are acceptable.

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

The title configuration of the axis.

C#
public ChartAxisDefaultsTitleSettings<T> Title { get; }

If set to true the chart will display the axis. By default the axis is visible.

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

Methods

Serializes the settings to a Dictionary.

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>