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

Kendo UI ChartYAxis class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartYAxis<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 ChartYAxis()

Properties

Value at which the Y axis crosses this axis. (Only for object)Value indices at which the Y axes cross the value axis. (Only for array)Date at which the Y axis crosses this axis. (Only for date)

C#
public object[] AxisCrossingValue { get; set; }

The background color of the axis.

C#
public string Background { get; set; }

The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options: milliseconds; seconds; minutes; hours; days; weeks; months or years.

C#
public string BaseUnit { get; set; }

The category names. Applicable for charts with X and Y category axes (heatmap).

C#
public object[] Categories { get; set; }

Chart member.

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

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

C#
public string Color { get; set; }

The crosshair configuration options.

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

The axis labels configuration.

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

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

C#
public ChartYAxisLineSettings<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 ChartYAxisMajorGridLinesSettings<T> MajorGridLines { get; }

The configuration of the scatter chart y axis major ticks.

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

The interval between major divisions. If this is a date axis the value represents the number of xAxis.baseUnits between major divisions. If the yAxis.type is set to "log", the majorUnit value will be used for the base of the logarithm.

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

The maximum value of the axis.

C#
public object Max { get; set; }

The minimum value of the axis.

C#
public object Min { get; set; }

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 ChartYAxisMinorGridLinesSettings<T> MinorGridLines { get; }

The configuration of the y axis minor ticks.

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

The interval between minor divisions. It defaults to 1/5 of the yAxis.majorUnit. If the yAxis.type is set to "log", the minorUnit value represents the number of divisions between two major units and defaults to the major unit minus one.

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

The unique axis name. Used to associate a series with a y axis using the series.yAxis option.

C#
public string Name { get; set; }

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

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

The y axis notes configuration.

C#
public ChartYAxisNotesSettings<T> Notes { get; }

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 y axis.

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

If set to true the value axis direction will be reversed. By default values increase from left to right and from bottom to top.

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

The title configuration of the scatter chart y axis.

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

The axis type.The supported values are: "numeric" - numeric axis.; "date" - specialized axis for displaying chronological data. or "log" - logarithmic axis..

C#
public string Type { get; set; }

If set to true the chart will display the y axis. By default the y 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>