ClassAxis
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public abstract class Axis : UIChartElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement
Inheritance: objectDisposableObjectRadObjectUIChartElementAxis
Derived Classes:
Implements:
Inherited Members
Constructors
Fields
LabelFitModeProperty
Declaration
public static RadProperty LabelFitModeProperty
Field Value
LabelIntervalProperty
Declaration
public static RadProperty LabelIntervalProperty
Field Value
LabelRotationAngleProperty
Declaration
public static RadProperty LabelRotationAngleProperty
Field Value
LastLabelVisibilityProperty
Declaration
public static RadProperty LastLabelVisibilityProperty
Field Value
MajorTickOffsetProperty
Declaration
public static RadProperty MajorTickOffsetProperty
Field Value
Properties
AxisType
Gets or sets the type of the axis.
Declaration
[Browsable(true)]
public AxisType AxisType { get; set; }
Property Value
The type of the axis.
EnableElementCache
Gets or sets a value indicating whether element caching is enabled.
Declaration
[Browsable(true)]
public bool EnableElementCache { get; set; }
Property Value
IsPrimary
Gets or sets whether the axis is primary.
Declaration
[Browsable(false)]
public bool IsPrimary { get; set; }
Property Value
The is primary.
LabelFitMode
Gets or sets a value that determines how the axis labels will be laid out when they are overlapping each other.
Declaration
public AxisLabelFitMode LabelFitMode { get; set; }
Property Value
LabelFormat
Gets or sets the format used to format all the labels present on the axis.
LabelFormatProvider
Gets or sets the format provider to be used for the labels of the axis.
Declaration
[Browsable(false)]
public IFormatProvider LabelFormatProvider { get; set; }
Property Value
LabelInterval
Gets or sets the step at which labels are positioned.
LabelOffset
Gets or sets index-based offset of the first tick to be displayed.
LabelRotationAngle
Gets or sets the rotation angle of the labels when LabelFitMode equals Rotate.
LastLabelVisibility
Gets or sets the strategy that defines the last axis label visibility.
Declaration
[Browsable(true)]
public AxisLastLabelVisibility LastLabelVisibility { get; set; }
Property Value
LineWidth
Gets or sets the thickness used to display the line of the axis.
MajorTickOffset
Gets or sets index-based offset of the first tick to be displayed.
Model
Gets the model.
ShowLabels
Gets or sets a value indicating whether labels will be displayed on this axis.
TickLength
Gets or sets the length of a single tick present on the axis. Useful when custom tick templates are specified.
TickWidth
Gets or sets the thickness of a single tick present on the axis. Useful when custom tick templates are specified.
Title
Gets or sets the title of the associated logical axis model.
TitleElement
Gets or sets the title element of the axis.
Declaration
public AxisTitleElement TitleElement { get; set; }
Property Value
Methods
BuildVisualState()
Builds the visual state.
Declaration
protected override void BuildVisualState()
Overrides
CreateLabelElement(AxisLabelModel)
Creates the label element.
Declaration
protected AxisLabelElement CreateLabelElement(AxisLabelModel label)
Parameters
label
The label.
Returns
GetLabelCacheKey(AxisLabelModel)
Gets the label cache key.
Declaration
protected virtual string GetLabelCacheKey(AxisLabelModel label)
Parameters
label
The label.
Returns
MeasureContentOverride(ChartNode, object)
Measures the content.
MeasureLabel(ChartNode, object)
Measures the label.
MeasureTitle(object)
Measures the title.
OnAttached(UIChartElement)
Called when [attached].
Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
parent
The parent.
Overrides
OnDettached()
Called when [dettached].
Declaration
protected override void OnDettached()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs containing information about the property change.
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
A string that represents the current object.
Overrides