AxisModel
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
Initializes a new instance of the AxisModel class.
public AxisModel()
Properties
Gets the bottom/left tick present on the axis. Valid when the axis is loaded.
public virtual AxisTickModel BottomOrLeftTick { get; }
Gets or sets the horizontal location of an axis (rendered vertically) in relation to the plot area.
public AxisHorizontalLocation HorizontalLocation { get; set; }
The horizontal location.
Gets or sets a value indicating whether this axis is inverse.
public bool IsInverse { get; set; }
Gets or sets a value that determines how the axis labels will be laid out when they are overlapping each other.
public AxisLabelFitMode LabelFitMode { get; set; }
Gets or sets the string that formats the labels of the axis.
public string LabelFormat { get; set; }
Gets or sets the step at which labels are positioned.
public int LabelInterval { get; set; }
Gets or sets index offset from the first label to be displayed.
public int LabelOffset { get; set; }
Gets all the labels currently present on the axis.
public ElementCollection<AxisLabelModel> Labels { get; }
Gets or sets the strategy that defines the last axis label visibility.
public AxisLastLabelVisibility LastLabelVisibility { get; set; }
Gets or sets the thickness of the axis line.
public double LineThickness { get; set; }
Gets or sets the length of a single tick presented on the axis.
public double MajorTickLength { get; set; }
Gets or sets index offset of the first tick to be displayed.
public int MajorTickOffset { get; set; }
MajorTicks
IEnumerable<AxisTickModel>
Gets the collection with all the major ticks, currently present on the axis.
public IEnumerable<AxisTickModel> MajorTicks { get; }
Gets or sets a value indicating whether labels will be displayed on this axis.
public bool ShowLabels { get; set; }
Gets or sets the thickness of a single tick presented on the axis.
public double TickThickness { get; set; }
Gets the AxisTitleModel instance that represents the title of this axis.
public AxisTitleModel Title { get; }
Gets the top/right tick present on the axis. Valid when the axis is loaded.
public virtual AxisTickModel TopOrRightTick { get; }
Gets or sets the vertical location of an axis (rendered horizontally) in relation to the plot area.
public AxisVerticalLocation VerticalLocation { get; set; }
The vertical location.
Methods
Updates the layout strategy.
protected void UpdateLayoutStrategy()