SparkAxis
Provides the base behavior for axes attached to a spark area, including axis type, drawing order, and visual thickness.
Definition
Namespace:Telerik.WinControls.UI.Sparkline
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class SparkAxis : UISparkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement
Inheritance: objectDisposableObjectRadObjectUISparkElementSparkAxis
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkAxis class.
public SparkAxis()
Properties
Gets or sets the type of the axis.
[Browsable(true)]
public AxisType AxisType { get; set; }
The type of the axis.
Gets or sets position of the axis in the chart draw stack.
[Browsable(true)]
public AxisDrawMode DrawMode { get; set; }
Gets or sets whether the axis is primary.
[Browsable(false)]
public bool IsPrimary { get; set; }
The is primary.
Gets or sets the thickness used to display the line of the axis.
public float LineWidth { get; set; }
Gets the model.
public SparkAxisModel Model { get; }
The model.
Methods
Called when [attached].
protected override void OnAttached(UISparkElement parent)
The parent.
Overrides:
Called when [dettached].
protected override void OnDettached()
Overrides:
Forwards the notification to the base implementation, then invalidates the axis when its drawing order changes.
protected override void OnNotifyPropertyChanged(string propertyName)
The name of the changed property.
Overrides:
Refreshes the axis after a property change once its model has been created.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property change notification.
Overrides:
Returns a string that represents the current object.
public override string ToString()
A string that represents the current object.
Overrides: