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

Serves as the base class for all chart axes, providing common axis properties and logic.

Definition

Constructors

C#
public AxisBase()

Properties

Index/value at which the first perpendicular axis crosses this axis

C#
public decimal? AxisCrossingValue { get; set; }

Get/Set the color of the axis line

C#
[TypeConverter(typeof(ColorConverter))]
public Color Color { get; set; }

Defines the appearance settings of axis crosshair

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisCrosshairAppearance CrosshairAppearance { get; }

The dash type of the chart series border.

The following dash types are supported:

  • dasha line consisting of dashes
  • dashDota line consisting of a repeating pattern of dash-dot
  • dota line consisting of dots
  • longDasha line consisting of a repeating pattern of long-dash
  • longDashDota line consisting of a repeating pattern of long-dash-dot
  • longDashDotDota line consisting of a repeating pattern of long-dash-dot-dot
  • solid a solid line
C#
public DashType DashType { get; set; }

Defines the appearance settings of axis labels

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisLabelsAppearance LabelsAppearance { get; }

Major grid lines settings

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public MajorGridLines MajorGridLines { get; }

Get/Set the major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart.

C#
public Unit MajorTickSize { get; set; }

Get/Set the minor tick type. The tick can either be drawn outside, or hidden by selecting none

C#
public TickType MajorTickType { get; set; }

Get/Set whether the maximum value

C#
public decimal? MaxValue { get; set; }

Minor grid lines settings

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public MinorGridLines MinorGridLines { get; }

Get/Set the minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart.

C#
public Unit MinorTickSize { get; set; }

Get/Set the minor tick type. The tick can either be drawn outside, or hidden by selecting none

C#
public TickType MinorTickType { get; set; }

Get/Set whether the minimum value of the axis

C#
public decimal? MinValue { get; set; }

Get/set the name of the axis so that it can be associated with a series

C#
public string Name { get; set; }

A collection of plotbands to be displayed for the axis.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public PlotBandsCollection PlotBands { get; }

Get/Set whether the axis should be reversed

C#
public bool Reversed { get; set; }

Get/Set the step for the axis values when MinValue and MaxValue are both set

C#
public decimal? Step { get; set; }

Defines the appearance settings of axis title

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisTitleAppearance TitleAppearance { get; }

Get/Set whether the axis should be visible

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

Get/Set the width of the axis line

C#
public Unit Width { get; set; }

Methods

C#
protected virtual string SerializeAxisScaling()
Returns:

string

C#
protected virtual void SerializeAxisType(StringBuilder sb)
Parameters:sbStringBuilder