Class Axis
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public abstract class Axis : UIChartElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement
Constructors
Axis()
Fields
LabelFitModeProperty
LabelFormatProperty
LabelIntervalProperty
LabelOffsetProperty
LabelRotationAngleProperty
LastLabelVisibilityProperty
MajorTickOffsetProperty
ShowLabelsProperty
TickLengthProperty
TickWidthProperty
TitleProperty
Properties
AxisType
Gets or sets the type of the axis.
Declaration
public AxisType AxisType { get; set; }
Property Value
AxisType
The type of the axis. |
EnableElementCache
Gets or sets a value indicating whether element caching is enabled.
Declaration
public bool EnableElementCache { get; set; }
Property Value
System.Boolean
|
IsPrimary
Gets or sets whether the axis is primary.
Declaration
public bool IsPrimary { get; set; }
Property Value
System.Boolean
The is primary. |
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 format used to format all the labels present on the axis.
Declaration
public string LabelFormat { get; set; }
Property Value
System.String
|
LabelFormatProvider
Gets or sets the format provider to be used for the labels of the axis.
Declaration
public IFormatProvider LabelFormatProvider { get; set; }
Property Value
System.IFormatProvider
|
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-based offset of the first tick to be displayed.
Declaration
public int LabelOffset { get; set; }
Property Value
System.Int32
|
LabelRotationAngle
Gets or sets the rotation angle of the labels when LabelFitMode equals Rotate.
Declaration
public double LabelRotationAngle { get; set; }
Property Value
System.Double
|
LastLabelVisibility
Gets or sets the strategy that defines the last axis label visibility.
Declaration
public AxisLastLabelVisibility LastLabelVisibility { get; set; }
Property Value
AxisLastLabelVisibility
|
LineWidth
Gets or sets the thickness used to display the line of the axis.
Declaration
public float LineWidth { get; set; }
Property Value
System.Single
|
MajorTickOffset
Gets or sets index-based offset of the first tick to be displayed.
Declaration
public int MajorTickOffset { get; set; }
Property Value
System.Int32
|
Model
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
|
TickLength
Gets or sets the length of a single tick present on the axis. Useful when custom tick templates are specified.
Declaration
public double TickLength { get; set; }
Property Value
System.Double
|
TickWidth
Gets or sets the thickness of a single tick present on the axis. Useful when custom tick templates are specified.
Declaration
public float TickWidth { get; set; }
Property Value
System.Single
|
Title
Gets or sets the title of the associated logical axis model.
Declaration
public string Title { get; set; }
Property Value
System.String
|
TitleElement
Gets or sets the title element of the axis.
Declaration
public AxisTitleElement TitleElement { get; set; }
Property Value
AxisTitleElement
|
Methods
BuildVisualState()
Builds the visual state.
Declaration
protected override void BuildVisualState()
Overrides
CreateLabelElement(AxisLabelModel)
Creates the label element.
Declaration
protected AxisLabelElement CreateLabelElement(AxisLabelModel label)
Parameters
AxisLabelModel
label
The label. |
Returns
AxisLabelElement
|
GetLabelCacheKey(AxisLabelModel)
Gets the label cache key.
Declaration
protected virtual string GetLabelCacheKey(AxisLabelModel label)
Parameters
AxisLabelModel
label
The label. |
Returns
System.String
|
MeasureContentOverride(ChartNode, Object)
Measures the content.
Declaration
protected override RadSize MeasureContentOverride(ChartNode owner, object content)
Parameters
ChartNode
owner
The owner. |
System.Object
content
The content. |
Returns
RadSize
|
Overrides
MeasureLabel(ChartNode, Object)
Measures the label.
Declaration
protected virtual RadSize MeasureLabel(ChartNode owner, object content)
Parameters
ChartNode
owner
The owner. |
System.Object
content
The content. |
Returns
RadSize
|
MeasureTitle(Object)
Measures the title.
Declaration
protected virtual RadSize MeasureTitle(object content)
Parameters
System.Object
content
The content. |
Returns
RadSize
|
OnAttached(UIChartElement)
Called when [attached].
Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
UIChartElement
parent
The parent. |
Overrides
OnDettached()
Called when [dettached].
Declaration
protected override void OnDettached()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
System.String
A string that represents the current object. |