Class
CategoricalAxis

Represents a categorical axis that displays discrete categories along the axis rather than continuous values.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public class CategoricalAxis : CartesianAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement

Inheritance: objectDisposableObjectRadObjectUIChartElementAxisLineAxisCartesianAxisCategoricalAxis

Derived Classes: DateTimeCategoricalAxis

Implements: IBorderElementIBoxElementIBoxStyleIChartElementPresenterICustomTypeDescriptorIDisposableIFillElementINotifyPropertyChangedIShapedElementIStylableElementIStylableNode

Inherited Members CartesianAxis.IsMultiAxisPropertyCartesianAxis.AutomaticBorderColorPropertyCartesianAxis.OnAttached(UIChartElement)CartesianAxis.OnDettached()CartesianAxis.SyncVisualSettings()CartesianAxis.OnNotifyPropertyChanged(PropertyChangedEventArgs)CartesianAxis.HorizontalLocationCartesianAxis.VerticalLocationCartesianAxis.AutomaticBorderColorCartesianAxis.IsMultiAxisCartesianAxis.ClipLabelsCartesianAxis.StartPositionAxisCartesianAxis.StartPositionValueCartesianAxis.ScaleBreaksCartesianAxis.HasScaleBreaksCartesianAxis.ScaleBreakStyleCartesianAxis.ScaleBreakSizeCartesianAxis.ScaleBreakBorderColorCartesianAxis.ScaleBreakBackColorLineAxis.IsInversePropertyLineAxis.OnPropertyChanged(RadPropertyChangedEventArgs)LineAxis.IsInverseAxis.LabelFitModePropertyAxis.LabelFormatPropertyAxis.LabelIntervalPropertyAxis.LabelOffsetPropertyAxis.LabelRotationAnglePropertyAxis.LastLabelVisibilityPropertyAxis.MajorTickOffsetPropertyAxis.ShowLabelsPropertyAxis.TickLengthPropertyAxis.TickWidthPropertyAxis.TitlePropertyAxis.MeasureContentOverride(ChartNode, object)Axis.MeasureLabel(ChartNode, object)Axis.GetLabelCacheKey(AxisLabelModel)Axis.MeasureTitle(object)Axis.BuildVisualState()Axis.ToString()Axis.CreateLabelElement(AxisLabelModel)Axis.IsPrimaryAxis.LabelFitModeAxis.LabelFormatAxis.LabelFormatProviderAxis.LabelIntervalAxis.LabelOffsetAxis.LabelRotationAngleAxis.LastLabelVisibilityAxis.LineWidthAxis.MajorTickOffsetAxis.ShowLabelsAxis.TickLengthAxis.TickWidthAxis.TitleAxis.TitleElementAxis.AxisTypeAxis.ModelAxis.EnableElementCacheUIChartElement.IsVisiblePropertyUIChartElement.ClassPropertyUIChartElement.VisualStatePropertyUIChartElement.IsMouseDownPropertyUIChartElement.IsMouseOverPropertyUIChartElement.FontPropertyUIChartElement.CustomFontPropertyUIChartElement.CustomFontSizePropertyUIChartElement.CustomFontStylePropertyUIChartElement.ForeColorPropertyUIChartElement.BackColorPropertyUIChartElement.BackColor2PropertyUIChartElement.BackColor3PropertyUIChartElement.BackColor4PropertyUIChartElement.NumberOfColorsPropertyUIChartElement.GradientStylePropertyUIChartElement.GradientAnglePropertyUIChartElement.GradientPercentagePropertyUIChartElement.GradientPercentage2PropertyUIChartElement.BorderBoxStylePropertyUIChartElement.BorderDrawModePropertyUIChartElement.BorderWidthPropertyUIChartElement.BorderLeftWidthPropertyUIChartElement.BorderRightWidthPropertyUIChartElement.BorderTopWidthPropertyUIChartElement.BorderBottomWidthPropertyUIChartElement.BorderGradientAnglePropertyUIChartElement.BorderGradientStylePropertyUIChartElement.BorderColorPropertyUIChartElement.BorderColor2PropertyUIChartElement.BorderColor3PropertyUIChartElement.BorderColor4PropertyUIChartElement.BorderInnerColorPropertyUIChartElement.BorderInnerColor2PropertyUIChartElement.BorderInnerColor3PropertyUIChartElement.BorderInnerColor4PropertyUIChartElement.BorderLeftColorPropertyUIChartElement.BorderTopColorPropertyUIChartElement.BorderRightColorPropertyUIChartElement.BorderBottomColorPropertyUIChartElement.BorderLeftShadowColorPropertyUIChartElement.BorderTopShadowColorPropertyUIChartElement.BorderRightShadowColorPropertyUIChartElement.BorderBottomShadowColorPropertyUIChartElement.BackgroundShapePropertyUIChartElement.BorderDashStylePropertyUIChartElement.BorderDashPatternPropertyUIChartElement.BorderCornerRadiusPropertyUIChartElement.ShapePropertyUIChartElement.PaddingPropertyUIChartElement.SmoothingModePropertyUIChartElement.GetValue(RadProperty)UIChartElement.Attach(UIChartElement)UIChartElement.Dettach()UIChartElement.Refresh()UIChartElement.Invalidate()UIChartElement.DpiScaleChanged(SizeF)UIChartElement.GetScaledFont(float)UIChartElement.GetCurrentShape()UIChartElement.GetThemeEffectiveType()UIChartElement.ApplyStyleSettingsCore(PropertySettingGroup)UIChartElement.ApplyStyle()UIChartElement.AddStylePropertySetting(IPropertySetting)UIChartElement.ApplyStyleByIndex(PropertySettingGroup, int)UIChartElement.ParentUIChartElement.LevelUIChartElement.ChildrenUIChartElement.IsMouseDownUIChartElement.IsMouseOverUIChartElement.ViewUIChartElement.IsVisibleUIChartElement.ForeColorUIChartElement.FontUIChartElement.BackColorUIChartElement.BackColor2UIChartElement.BackColor3UIChartElement.BackColor4UIChartElement.GradientStyleUIChartElement.GradientAngleUIChartElement.GradientPercentageUIChartElement.GradientPercentage2UIChartElement.NumberOfColorsUIChartElement.BorderLeftColorUIChartElement.BorderTopColorUIChartElement.BorderRightColorUIChartElement.BorderBottomColorUIChartElement.BorderLeftShadowColorUIChartElement.BorderTopShadowColorUIChartElement.BorderRightShadowColorUIChartElement.BorderBottomShadowColorUIChartElement.BorderBoxStyleUIChartElement.BorderDrawModeUIChartElement.BorderWidthUIChartElement.BorderLeftWidthUIChartElement.BorderTopWidthUIChartElement.BorderRightWidthUIChartElement.BorderBottomWidthUIChartElement.BorderGradientAngleUIChartElement.BorderGradientStyleUIChartElement.BorderColorUIChartElement.BorderColor2UIChartElement.BorderColor3UIChartElement.BorderColor4UIChartElement.BorderInnerColorUIChartElement.BorderInnerColor2UIChartElement.BorderInnerColor3UIChartElement.BorderInnerColor4UIChartElement.BorderDashStyleUIChartElement.BorderDashPatternUIChartElement.BorderCornerRadiusUIChartElement.SizeUIChartElement.ShapeUIChartElement.BackgroundShapeUIChartElement.PaddingUIChartElement.SmoothingModeUIChartElement.IsAttachedUIChartElement.DpiScaleFactorUIChartElement.ClassUIChartElement.VisualStateUIChartElement.ThemeRoleUIChartElement.ChildrenHierarchyUIChartElement.StyleUIChartElement.StateManagerUIChartElement.FallbackToDefaultThemeRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

CategoricalAxis()

Initializes a new instance of the CategoricalAxis class.

Declaration

cs-api-definition
public CategoricalAxis()

Properties

GapLength

Gets or sets the gap ratio between categories, expressed as a value between 0 and 1.

Declaration

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

Property Value

double

MajorTickInterval

Gets or sets the interval between major ticks on the axis, determining which categories display tick marks.

Declaration

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

Property Value

int

PlotMode

Gets or sets the positioning mode that determines how data points are plotted relative to category ticks.

Declaration

cs-api-definition
public AxisPlotMode PlotMode { get; set; }

Property Value

AxisPlotMode

Methods

GetLocationOfValue(object)

Gets the pixel location along the axis for the specified category value.

Declaration

cs-api-definition
public override double GetLocationOfValue(object value)

Parameters

value

object

The category value to locate on the axis.

Returns

double

The pixel position of the specified category value.

Overrides CartesianAxis.GetLocationOfValue(object)