ClassCartesianAxis
Provides the abstract base class for axes used in Cartesian coordinate systems, supporting positioning and scale break functionality.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public abstract class CartesianAxis : LineAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement
Inheritance: objectDisposableObjectRadObjectUIChartElementAxisLineAxisCartesianAxis
Derived Classes:
Implements:
Inherited Members
Constructors
CartesianAxis()
Initializes a new instance of the CartesianAxis class.
Declaration
public CartesianAxis()
Fields
AutomaticBorderColorProperty
Identifies the AutomaticBorderColor dependency property.
Declaration
public static RadProperty AutomaticBorderColorProperty
Field Value
IsMultiAxisProperty
Identifies the IsMultiAxis dependency property.
Properties
AutomaticBorderColor
Gets or sets a value indicating whether the color of the axis and series will be synchronized when in multi-axis mode.
Declaration
public bool AutomaticBorderColor { get; set; }
Property Value
true if color is taken from the series; otherwise, false.
ClipLabels
Gets or sets a value indicating whether axis labels will be clipped to the axis width for horizontal axes and the axis height for vertical axes.
HasScaleBreaks
Gets a value indicating whether the axis has scale breaks added to it.
HorizontalLocation
Gets or sets the horizontal location of the axis in relation to the plot area.
Declaration
public AxisHorizontalLocation HorizontalLocation { get; set; }
Property Value
IsMultiAxis
Gets a value indicating whether this axis is part of a vertical or horizontal multi-axis layout.
Declaration
public bool IsMultiAxis { get; }
Property Value
true if this axis is part of a multi-axis chart; otherwise, false.
ScaleBreakBackColor
Gets or sets the back color of the scale breaks of this axis.
ScaleBreakBorderColor
Gets or sets the border color of the scale breaks of this axis.
ScaleBreakSize
Gets or sets the size of the gap drawn for each of the scale breaks of this axis.
ScaleBreakStyle
Gets or sets the style of the scale breaks of this axis.
Declaration
public ScaleBreakStyle ScaleBreakStyle { get; set; }
Property Value
ScaleBreaks
Allows adding and removing scale breaks to this axis.
Declaration
public AxisScaleBreakCollection ScaleBreaks { get; }
Property Value
StartPositionAxis
Gets or sets the axis used to determine the start position alignment for this axis.
StartPositionValue
Gets or sets the value of the StartPositionAxis where this axis should be aligned.
VerticalLocation
Gets or sets the vertical location of the axis in relation to the plot area.
Declaration
public AxisVerticalLocation VerticalLocation { get; set; }
Property Value
Methods
GetLocationOfValue(object)
Gets the location in pixels for the given value along the axis, accounting for whether the axis is vertical or horizontal.
OnAttached(UIChartElement)
Called when the axis is attached to a parent element.
Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
parent
The parent chart element.
Overrides
OnDettached()
Called when the axis is detached from its parent element.
Declaration
protected override void OnDettached()
Overrides
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
The property changed event arguments.
Overrides
SyncVisualSettings()
Synchronizes the visual settings of the first series plotted upon this axis with the axis visual properties.
Declaration
protected virtual void SyncVisualSettings()