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

Defines the Chart base axis options.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

TValue

Syntax:

C#
public abstract class ChartAxisBase<T, TValue> : IChartAxis<TValue>, IChartAxisBase where T : class where TValue : struct

Inheritance: objectChartAxisBase<T, TValue>

Derived Classes: ChartAxisDefaults<T>ChartCategoryAxis<T>ChartDateAxis<T>ChartNumericAxis<T>

Implements: IChartAxis<TValue>IChartAxisBase

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

Constructors

Initializes a new instance of the ChartAxisBase<T, TValue> class.

C#
public ChartAxisBase(Chart<T> chart)
Parameters:chartChart<T>

The chart.

Properties

The axis background color

C#
public string Background { get; set; }

Implements: IChartAxis<TValue>.Background

Gets the chart.

C#
public Chart<T> Chart { get; }
Property Value:

The chart.

The color for all axis elements. Can be overriden by individual settings.

C#
public string Color { get; set; }

Implements: IChartAxisBase.Color

The axis crosshair configuration.

C#
public ChartAxisCrosshair Crosshair { get; set; }

Implements: IChartAxisBase.Crosshair

The axis labels.

C#
public ChartAxisLabels Labels { get; set; }

Implements: IChartAxisBase.Labels

The axis line configuration.

C#
public ChartLine Line { get; set; }

Implements: IChartAxisBase.Line

The major grid lines configuration.

C#
public ChartLine MajorGridLines { get; set; }

Implements: IChartAxisBase.MajorGridLines

The axis major ticks configuration.

C#
public ChartAxisTicks MajorTicks { get; set; }

Implements: IChartAxisBase.MajorTicks

The minor grid lines configuration.

C#
public ChartLine MinorGridLines { get; set; }

Implements: IChartAxisBase.MinorGridLines

The axis minor ticks configuration.

C#
public ChartAxisTicks MinorTicks { get; set; }

Implements: IChartAxisBase.MinorTicks

The axis name. Leave empty to use the "primary" default value.

C#
public string Name { get; set; }

Implements: IChartAxisBase.Name

A value indicating if the automatic axis range should snap to 0.

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

Implements: IChartAxisBase.NarrowRange

The axis notes.

C#
public ChartAxisNotes Notes { get; set; }

Implements: IChartAxis<TValue>.Notes

The name of the pane that the axis should be rendered in.

C#
public string Pane { get; set; }

Implements: IChartAxis<TValue>.Pane

The axis plot bands.

C#
public IList<ChartPlotBand> PlotBands { get; set; }

Implements: IChartAxis<TValue>.PlotBands

The axis range labels.

C#
public ChartAxisLabels RangeLabels { get; set; }

Implements: IChartAxisBase.RangeLabels

A value indicating if the axis labels should be rendered in reverse.

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

Implements: IChartAxisBase.Reverse

The angle (degrees) where the 0 value is placed. It defaults to 0. Angles increase counterclockwise and zero is to the right. Negative values are acceptable.

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

Implements: IChartAxis<TValue>.StartAngle

The axis title.

C#
public ChartAxisTitle Title { get; set; }

Implements: IChartAxisBase.Title

Gets or sets the axis visibility.

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

Implements: IChartAxis<TValue>.Visible

Methods

Creates a serializer for the axis options.

C#
public abstract IChartSerializer CreateSerializer()
Returns:

IChartSerializer

Implements: IChartAxisBase.CreateSerializer()