AxisBase
Serves as the base class for all chart axes, providing common axis properties and logic.
Definition
Namespace:Telerik.Web.UI.HtmlChart.PlotArea
Assembly:Telerik.Web.UI.dll
Syntax:
public class AxisBase : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerAxisBase
Derived Classes:
Implements:
Inherited Members
Constructors
public AxisBase()
Properties
Index/value at which the first perpendicular axis crosses this axis
public decimal? AxisCrossingValue { get; set; }
Get/Set the color of the axis line
[TypeConverter(typeof(ColorConverter))]
public Color Color { get; set; }
Defines the appearance settings of axis crosshair
[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
public DashType DashType { get; set; }
Defines the appearance settings of axis labels
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisLabelsAppearance LabelsAppearance { get; }
Major grid lines settings
[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.
public Unit MajorTickSize { get; set; }
Get/Set the minor tick type. The tick can either be drawn outside, or hidden by selecting none
public TickType MajorTickType { get; set; }
Minor grid lines settings
[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.
public Unit MinorTickSize { get; set; }
Get/Set the minor tick type. The tick can either be drawn outside, or hidden by selecting none
public TickType MinorTickType { get; set; }
Get/Set whether the minimum value of the axis
public decimal? MinValue { get; set; }
Get/set the name of the axis so that it can be associated with a series
public string Name { get; set; }
A collection of plotbands to be displayed for the axis.
[PersistenceMode(PersistenceMode.InnerProperty)]
public PlotBandsCollection PlotBands { get; }
Get/Set the step for the axis values when MinValue and MaxValue are both set
public decimal? Step { get; set; }
Defines the appearance settings of axis title
[PersistenceMode(PersistenceMode.InnerProperty)]
public AxisTitleAppearance TitleAppearance { get; }