Class AxisModel
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public abstract class AxisModel : ChartElement, IDisposable, INotifyPropertyChanged
Constructors
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
AxisTickModel
|
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
AxisHorizontalLocation
The horizontal location. |
IsInverse
Gets or sets a value indicating whether this axis is inverse.
Declaration
public bool IsInverse { get; set; }
Property Value
System.Boolean
|
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
AxisLabelFitMode
|
LabelFormat
Gets or sets the string that formats the labels of the axis.
Declaration
public string LabelFormat { get; set; }
Property Value
System.String
|
LabelInterval
Gets or sets the step at which labels are positioned.
Declaration
public int LabelInterval { get; set; }
Property Value
System.Int32
|
LabelOffset
Gets or sets index offset from the first label to be displayed.
Declaration
public int LabelOffset { get; set; }
Property Value
System.Int32
|
Labels
Gets all the labels currently present on the axis.
Declaration
public ElementCollection<AxisLabelModel> Labels { get; }
Property Value
ElementCollection<AxisLabelModel>
|
LastLabelVisibility
Gets or sets the strategy that defines the last axis label visibility.
Declaration
public AxisLastLabelVisibility LastLabelVisibility { get; set; }
Property Value
AxisLastLabelVisibility
|
LineThickness
Gets or sets the thickness of the axis line.
Declaration
public double LineThickness { get; set; }
Property Value
System.Double
|
MajorTickLength
Gets or sets the length of a single tick presented on the axis.
Declaration
public double MajorTickLength { get; set; }
Property Value
System.Double
|
MajorTickOffset
Gets or sets index offset of the first tick to be displayed.
Declaration
public int MajorTickOffset { get; set; }
Property Value
System.Int32
|
MajorTicks
Gets the collection with all the major ticks, currently present on the axis.
Declaration
public IEnumerable<AxisTickModel> MajorTicks { get; }
Property Value
System.Collections.Generic.IEnumerable<AxisTickModel>
|
ShowLabels
Gets or sets a value indicating whether labels will be displayed on this axis.
Declaration
public bool ShowLabels { get; set; }
Property Value
System.Boolean
|
TickThickness
Gets or sets the thickness of a single tick presented on the axis.
Declaration
public double TickThickness { get; set; }
Property Value
System.Double
|
Title
Gets the AxisTitleModel instance that represents the title of this axis.
Declaration
public AxisTitleModel Title { get; }
Property Value
AxisTitleModel
|
TopOrRightTick
Gets the top/right tick present on the axis. Valid when the axis is loaded.
Declaration
public virtual AxisTickModel TopOrRightTick { get; }
Property Value
AxisTickModel
|
Type
Gets or sets the type (X or Y) of this instance.
Declaration
public AxisType Type { get; set; }
Property Value
AxisType
|
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
AxisVerticalLocation
The vertical location. |
Methods
BuildTicksAndLabels(RadSize)
Builds the ticks and labels.
Declaration
protected virtual bool BuildTicksAndLabels(RadSize availableSize)
Parameters
RadSize
availableSize
Size of the available. |
Returns
System.Boolean
|
UpdateLayoutStrategy()
Updates the layout strategy.
Declaration
protected void UpdateLayoutStrategy()