ClassAxisModel
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public abstract class AxisModel : ChartElement, IDisposable, INotifyPropertyChanged
Inheritance: objectDisposableObjectPropertyBagObjectChartNodeChartElementAxisModel
Derived Classes:
Implements:
Inherited Members
Constructors
AxisModel()
Initializes a new instance of the AxisModel class.
Declaration
public AxisModel()
Properties
BottomOrLeftTick
Gets the bottom/left tick present on the axis. Valid when the axis is loaded.
Declaration
public virtual AxisTickModel BottomOrLeftTick { get; }
Property Value
HorizontalLocation
Gets or sets the horizontal location of an axis (rendered vertically) in relation to the plot area.
Declaration
public AxisHorizontalLocation HorizontalLocation { get; set; }
Property Value
The horizontal location.
IsInverse
Gets or sets a value indicating whether this axis is inverse.
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 string that formats the labels of the axis.
LabelInterval
Gets or sets the step at which labels are positioned.
LabelOffset
Gets or sets index offset from the first label to be displayed.
Labels
Gets all the labels currently present on the axis.
Declaration
public ElementCollection<AxisLabelModel> Labels { get; }
Property Value
LastLabelVisibility
Gets or sets the strategy that defines the last axis label visibility.
Declaration
public AxisLastLabelVisibility LastLabelVisibility { get; set; }
Property Value
LineThickness
Gets or sets the thickness of the axis line.
MajorTickLength
Gets or sets the length of a single tick presented on the axis.
MajorTickOffset
Gets or sets index offset of the first tick to be displayed.
MajorTicks
Gets the collection with all the major ticks, currently present on the axis.
Declaration
public IEnumerable<AxisTickModel> MajorTicks { get; }
Property Value
IEnumerable<AxisTickModel>
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 presented on the axis.
Title
Gets the AxisTitleModel instance that represents the title of this axis.
TopOrRightTick
Gets the top/right tick present on the axis. Valid when the axis is loaded.
Declaration
public virtual AxisTickModel TopOrRightTick { get; }
Property Value
Type
Gets or sets the type (X or Y) of this instance.
VerticalLocation
Gets or sets the vertical location of an axis (rendered horizontally) in relation to the plot area.
Declaration
public AxisVerticalLocation VerticalLocation { get; set; }
Property Value
The vertical location.
Methods
BuildTicksAndLabels(RadSize)
Builds the ticks and labels.
UpdateLayoutStrategy()
Updates the layout strategy.
Declaration
protected void UpdateLayoutStrategy()