ClassAxis
Represents an axis within a RadCartesianChart instance.
Definition
Namespace:Telerik.UI.Xaml.Controls.Chart
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public abstract class Axis : ChartElementPresenter, IChartElementPresenter, IElementPresenter
Inheritance: objectRadControlPresenterBaseChartElementPresenterAxis
Derived Classes:
Implements:
Inherited Members
Constructors
Fields
LabelCreatorProperty
Identifies the LabelCreator dependency property.
Declaration
public static readonly DependencyProperty LabelCreatorProperty
Field Value
DependencyProperty
LabelFitModeProperty
Identifies the LabelFitMode property.
Declaration
public static readonly DependencyProperty LabelFitModeProperty
Field Value
DependencyProperty
LabelFormatProperty
Identifies the LabelFormat dependency property.
Declaration
public static readonly DependencyProperty LabelFormatProperty
Field Value
DependencyProperty
LabelFormatterProperty
Identifies the LabelFormatter dependency property.
Declaration
public static readonly DependencyProperty LabelFormatterProperty
Field Value
DependencyProperty
LabelIntervalProperty
Identifies the LabelInterval property.
Declaration
public static readonly DependencyProperty LabelIntervalProperty
Field Value
DependencyProperty
LabelRotationAngleProperty
Identifies the LabelRotationAngle property.
Declaration
public static readonly DependencyProperty LabelRotationAngleProperty
Field Value
DependencyProperty
LabelStyleProperty
Identifies the LabelStyle property.
Declaration
public static readonly DependencyProperty LabelStyleProperty
Field Value
DependencyProperty
LabelTemplateProperty
Identifies the LabelTemplate property.
Declaration
public static readonly DependencyProperty LabelTemplateProperty
Field Value
DependencyProperty
LabelTemplateSelectorProperty
Identifies the LabelTemplateSelector property.
Declaration
public static readonly DependencyProperty LabelTemplateSelectorProperty
Field Value
DependencyProperty
LineStyleProperty
Identifies the LineStyle property.
Declaration
public static readonly DependencyProperty LineStyleProperty
Field Value
DependencyProperty
MajorTickStyleProperty
Identifies the MajorTickStyle property.
Declaration
public static readonly DependencyProperty MajorTickStyleProperty
Field Value
DependencyProperty
MajorTickTemplateProperty
Identifies the MajorTickTemplate property.
Declaration
public static readonly DependencyProperty MajorTickTemplateProperty
Field Value
DependencyProperty
ShowLabelsProperty
Identifies the ShowLabels property.
Declaration
public static readonly DependencyProperty ShowLabelsProperty
Field Value
DependencyProperty
TitleProperty
Identifies the Title dependency property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
DependencyProperty
TitleTemplateProperty
Identifies the TitleTemplate property.
Declaration
public static readonly DependencyProperty TitleTemplateProperty
Field Value
DependencyProperty
Properties
LabelCreator
Gets or sets the ILabelCreator instance used to decide whether Label should be created.
Declaration
public ILabelCreator LabelCreator { get; set; }
Property Value
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.
LabelFormatter
Gets or sets the IContentFormatter instance used to format each axis label.
Declaration
public IContentFormatter LabelFormatter { 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.
LabelStyle
Gets or sets the Style to be applied to the default TextBlock instance created when LabelTemplate property is not specified. Creating a TextBlock instance per label instead of a ContentPresenter gives a huge performance boost.
Declaration
public Style LabelStyle { get; set; }
Property Value
Style
LabelTemplate
Gets or sets the DataTemplate used to visualize axis labels.
Declaration
public DataTemplate LabelTemplate { get; set; }
Property Value
DataTemplate
LabelTemplateSelector
Gets or sets the DataTemplateSelector used to provide conditional DataTemplate look-up when axis labels are visualized.
Declaration
public DataTemplateSelector LabelTemplateSelector { get; set; }
Property Value
DataTemplateSelector
LastLabelVisibility
Gets or sets the strategy that defines the last axis label visibility.
Declaration
public AxisLastLabelVisibility LastLabelVisibility { get; set; }
Property Value
LineStyle
Gets or sets the Style object that defines the appearance of the Shape shape used to display axis' line. For a CartesianAxis the shape will be a instance while for a RadialAxis the shape will be an shape.
Declaration
public Style LineStyle { get; set; }
Property Value
Style
MajorTickLength
Gets or sets the length of the major tick.
MajorTickOffset
Gets or sets index-based offset of the first tick to be displayed.
MajorTickStyle
Gets or sets the style for each instance created to represent a major tick when no MajorTickTemplate is specified. Creating a instance per tick instead of a ContentPresenter gives a huge performance boost.
Declaration
public Style MajorTickStyle { get; set; }
Property Value
Style
MajorTickTemplate
Gets or sets the DataTemplate instance used to visualize major ticks on the axis. If this value is not specified ticks will be presented by a shape.
Declaration
public DataTemplate MajorTickTemplate { get; set; }
Property Value
DataTemplate
ShowLabels
Gets or sets a value indicating whether labels will be displayed on this axis.
TickThickness
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.
TitleTemplate
Gets or sets the DataTemplate instance used to visualize the axis's title.
Declaration
public DataTemplate TitleTemplate { get; set; }
Property Value
DataTemplate
Methods
ApplyTemplateCore()
Adds the ContentPresenter instances used to visualize the title of the axis.
GetTickTemplate(TickType)
Gets the DataTemplate instance used to visualize the a tick with the specified TickType.
Declaration
protected virtual DataTemplate GetTickTemplate(TickType tickType)
Parameters
tickType
Returns
DataTemplate
MeasureNodeOverride(Node, object)
Core entry point for calculating the size of a node's content.
OnAttached()
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
Declaration
protected override void OnAttached()
Overrides
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnDetached(RadChartBase)
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
Declaration
protected override void OnDetached(RadChartBase oldChart)
Parameters
oldChart
Overrides
UnapplyTemplateCore()
Removes the current control template. Occurs when a template has already been applied and a new one is applied.
Declaration
protected override void UnapplyTemplateCore()
Overrides