Class
AxisModel

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public abstract class AxisModel : ChartElement, IDisposable, INotifyPropertyChanged

Inheritance: objectDisposableObjectPropertyBagObjectChartNodeChartElementAxisModel

Derived Classes: DateTimeContinuousAxisModelNumericalAxisModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ChartElement.FindAncestor<T>()ChartElement.IsAncestorOf(ChartNode)ChartElement.FindDescendant<T>()ChartElement.FindDescendant(Predicate<ChartNode>)ChartElement.EnumDescendants()ChartElement.EnumDescendants(TreeTraversalMode)ChartElement.EnumDescendants(Predicate<ChartNode>, TreeTraversalMode)ChartElement.DisposeManagedResources()ChartElement.PresenterChartNode.Arrange(RadRect, bool)ChartNode.Invalidate()ChartNode.SetValueCore(int, object)ChartNode.ClearValueCore(int)ChartNode.IsArrangeValidChartNode.NodeStateChartNode.IndexChartNode.CollectionIndexChartNode.IsTreeLoadedChartNode.LayoutSlotChartNode.ParentChartNode.PropertyChangedPropertyBagObject.IsLocalValue(int)PropertyBagObject.GetValue(int)PropertyBagObject.SetValue(int, object)PropertyBagObject.ClearValue(int)PropertyBagObject.GetTypedValue<T>(int, T)PropertyBagObject.PropertyStoreDisposableObject.Dispose()DisposableObject.DisposeUnmanagedResources()DisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.EventsDisposableObject.DisposingDisposableObject.Disposed

Constructors

AxisModel()

Initializes a new instance of the AxisModel class.

Declaration

cs-api-definition
public AxisModel()

Properties

BottomOrLeftTick

Gets the bottom/left tick present on the axis. Valid when the axis is loaded.

Declaration

cs-api-definition
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

cs-api-definition
public AxisHorizontalLocation HorizontalLocation { get; set; }

Property Value

AxisHorizontalLocation

The horizontal location.

IsInverse

Gets or sets a value indicating whether this axis is inverse.

Declaration

cs-api-definition
public bool IsInverse { get; set; }

Property Value

bool

LabelFitMode

Gets or sets a value that determines how the axis labels will be laid out when they are overlapping each other.

Declaration

cs-api-definition
public AxisLabelFitMode LabelFitMode { get; set; }

Property Value

AxisLabelFitMode

LabelFormat

Gets or sets the string that formats the labels of the axis.

Declaration

cs-api-definition
public string LabelFormat { get; set; }

Property Value

string

LabelInterval

Gets or sets the step at which labels are positioned.

Declaration

cs-api-definition
public int LabelInterval { get; set; }

Property Value

int

LabelOffset

Gets or sets index offset from the first label to be displayed.

Declaration

cs-api-definition
public int LabelOffset { get; set; }

Property Value

int

Labels

Gets all the labels currently present on the axis.

Declaration

cs-api-definition
public ElementCollection<AxisLabelModel> Labels { get; }

Property Value

ElementCollection<AxisLabelModel>

LastLabelVisibility

Gets or sets the strategy that defines the last axis label visibility.

Declaration

cs-api-definition
public AxisLastLabelVisibility LastLabelVisibility { get; set; }

Property Value

AxisLastLabelVisibility

LineThickness

Gets or sets the thickness of the axis line.

Declaration

cs-api-definition
public double LineThickness { get; set; }

Property Value

double

MajorTickLength

Gets or sets the length of a single tick presented on the axis.

Declaration

cs-api-definition
public double MajorTickLength { get; set; }

Property Value

double

MajorTickOffset

Gets or sets index offset of the first tick to be displayed.

Declaration

cs-api-definition
public int MajorTickOffset { get; set; }

Property Value

int

MajorTicks

Gets the collection with all the major ticks, currently present on the axis.

Declaration

cs-api-definition
public IEnumerable<AxisTickModel> MajorTicks { get; }

Property Value

IEnumerable<AxisTickModel>

ShowLabels

Gets or sets a value indicating whether labels will be displayed on this axis.

Declaration

cs-api-definition
public bool ShowLabels { get; set; }

Property Value

bool

TickThickness

Gets or sets the thickness of a single tick presented on the axis.

Declaration

cs-api-definition
public double TickThickness { get; set; }

Property Value

double

Title

Gets the AxisTitleModel instance that represents the title of this axis.

Declaration

cs-api-definition
public AxisTitleModel Title { get; }

Property Value

AxisTitleModel

TopOrRightTick

Gets the top/right tick present on the axis. Valid when the axis is loaded.

Declaration

cs-api-definition
public virtual AxisTickModel TopOrRightTick { get; }

Property Value

AxisTickModel

Type

Gets or sets the type (X or Y) of this instance.

Declaration

cs-api-definition
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

cs-api-definition
public AxisVerticalLocation VerticalLocation { get; set; }

Property Value

AxisVerticalLocation

The vertical location.

Methods

BuildTicksAndLabels(RadSize)

Builds the ticks and labels.

Declaration

cs-api-definition
protected virtual bool BuildTicksAndLabels(RadSize availableSize)

Parameters

availableSize

RadSize

Size of the available.

Returns

bool

UpdateLayoutStrategy()

Updates the layout strategy.

Declaration

cs-api-definition
protected void UpdateLayoutStrategy()