Class CartesianAxis
Provides the abstract base class for axes used in Cartesian coordinate systems, supporting positioning and scale break functionality.
Inherited Members
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
Constructors
CartesianAxis()
Fields
AutomaticBorderColorProperty
Identifies the AutomaticBorderColor dependency property.
Declaration
public static RadProperty AutomaticBorderColorProperty
Field Value
|
RadProperty
|
IsMultiAxisProperty
Identifies the IsMultiAxis dependency property.
Declaration
public static RadProperty IsMultiAxisProperty
Field Value
|
RadProperty
|
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
|
System.Boolean
|
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.
Declaration
public bool ClipLabels { get; set; }
Property Value
|
System.Boolean
|
HasScaleBreaks
Gets a value indicating whether the axis has scale breaks added to it.
Declaration
public bool HasScaleBreaks { get; }
Property Value
|
System.Boolean
|
HorizontalLocation
Gets or sets the horizontal location of the axis in relation to the plot area.
Declaration
public AxisHorizontalLocation HorizontalLocation { get; set; }
Property Value
|
AxisHorizontalLocation
|
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
|
System.Boolean
|
ScaleBreakBackColor
Gets or sets the back color of the scale breaks of this axis.
Declaration
public Color ScaleBreakBackColor { get; set; }
Property Value
|
System.Drawing.Color
|
ScaleBreakBorderColor
Gets or sets the border color of the scale breaks of this axis.
Declaration
public Color ScaleBreakBorderColor { get; set; }
Property Value
|
System.Drawing.Color
|
ScaleBreaks
Allows adding and removing scale breaks to this axis.
Declaration
public AxisScaleBreakCollection ScaleBreaks { get; }
Property Value
|
AxisScaleBreakCollection
|
ScaleBreakSize
Gets or sets the size of the gap drawn for each of the scale breaks of this axis.
Declaration
public double ScaleBreakSize { get; set; }
Property Value
|
System.Double
|
ScaleBreakStyle
Gets or sets the style of the scale breaks of this axis.
Declaration
public ScaleBreakStyle ScaleBreakStyle { get; set; }
Property Value
|
ScaleBreakStyle
|
StartPositionAxis
Gets or sets the axis used to determine the start position alignment for this axis.
Declaration
public Axis StartPositionAxis { get; set; }
Property Value
|
Axis
|
StartPositionValue
Gets or sets the value of the StartPositionAxis where this axis should be aligned.
Declaration
public object StartPositionValue { get; set; }
Property Value
|
System.Object
|
VerticalLocation
Gets or sets the vertical location of the axis in relation to the plot area.
Declaration
public AxisVerticalLocation VerticalLocation { get; set; }
Property Value
|
AxisVerticalLocation
|
Methods
GetLocationOfValue(Object)
Gets the location in pixels for the given value along the axis, accounting for whether the axis is vertical or horizontal.
Declaration
public abstract double GetLocationOfValue(object value)
Parameters
|
System.Object
value
A value from the axis values range. |
Returns
|
System.Double
The location in pixels. |
OnAttached(UIChartElement)
Called when the axis is attached to a parent element.
Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
|
UIChartElement
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
|
System.ComponentModel.PropertyChangedEventArgs
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()