CartesianAxis
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
Initializes a new instance of the CartesianAxis class.
public CartesianAxis()
Fields
Identifies the AutomaticBorderColor dependency property.
public static RadProperty AutomaticBorderColorProperty
Identifies the IsMultiAxis dependency property.
public static RadProperty IsMultiAxisProperty
Properties
Gets or sets a value indicating whether the color of the axis and series will be synchronized when in multi-axis mode.
public bool AutomaticBorderColor { get; set; }
true if color is taken from the series; otherwise, false.
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.
public bool ClipLabels { get; set; }
Gets a value indicating whether the axis has scale breaks added to it.
public bool HasScaleBreaks { get; }
Gets or sets the horizontal location of the axis in relation to the plot area.
public AxisHorizontalLocation HorizontalLocation { get; set; }
Gets a value indicating whether this axis is part of a vertical or horizontal multi-axis layout.
public bool IsMultiAxis { get; }
true if this axis is part of a multi-axis chart; otherwise, false.
Gets or sets the back color of the scale breaks of this axis.
public Color ScaleBreakBackColor { get; set; }
Gets or sets the border color of the scale breaks of this axis.
public Color ScaleBreakBorderColor { get; set; }
Allows adding and removing scale breaks to this axis.
public AxisScaleBreakCollection ScaleBreaks { get; }
Gets or sets the size of the gap drawn for each of the scale breaks of this axis.
public double ScaleBreakSize { get; set; }
Gets or sets the style of the scale breaks of this axis.
public ScaleBreakStyle ScaleBreakStyle { get; set; }
Gets or sets the axis used to determine the start position alignment for this axis.
public Axis StartPositionAxis { get; set; }
Gets or sets the value of the StartPositionAxis where this axis should be aligned.
public object StartPositionValue { get; set; }
Gets or sets the vertical location of the axis in relation to the plot area.
public AxisVerticalLocation VerticalLocation { get; set; }
Methods
Called when the axis is attached to a parent element.
protected override void OnAttached(UIChartElement parent)
The parent chart element.
Overrides:
Called when the axis is detached from its parent element.
protected override void OnDettached()
Overrides:
Raises the standard .NET PropertyChanged event.
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
The property changed event arguments.
Overrides:
Synchronizes the visual settings of the first series plotted upon this axis with the axis visual properties.
protected virtual void SyncVisualSettings()