Class LabelData
This class represents the label token for various chart elements.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class LabelData : BaseFormattableData, INotifyPropertyChanged, IFormattableData
Constructors
LabelData()
LabelData(BaseFormattableData)
Initializes a new instance of the LabelData class.
Declaration
public LabelData(BaseFormattableData baseData)
Parameters
BaseFormattableData
baseData
The object to initialize from. |
LabelData(BaseFormattableData, Point3D)
Initializes a new instance of the LabelData class.
Declaration
public LabelData(BaseFormattableData baseData, Point3D position)
Parameters
BaseFormattableData
baseData
The object to initialize from. |
System.Windows.Media.Media3D.Point3D
position
The position of the label in the 3D space. |
Fields
GlobalTransformChangedName
This supports the RadChart infrastructure and is not meant to be directly used by your code.
Declaration
public const string GlobalTransformChangedName = "GlobalTransformChanged"
Field Value
System.String
|
ViewportPositionChangedName
This supports the RadChart infrastructure and is not meant to be directly used by your code.
Declaration
public const string ViewportPositionChangedName = "ViewportPosition"
Field Value
System.String
|
Properties
BaseData
Gets the BaseFormattableData related to the current LabelData.
Declaration
public BaseFormattableData BaseData { get; set; }
Property Value
BaseFormattableData
|
IsDateTime
Gets or sets the value indicating whether DateTime formatted labels should be displayed.
Declaration
public override bool IsDateTime { get; set; }
Property Value
System.Boolean
|
Overrides
Implements
IsLabelVisible
Gets a value indicating whether this label's position is valid.
Declaration
public virtual bool IsLabelVisible { get; }
Property Value
System.Boolean
Returns |
LabelFormat
Gets the label formatting string to be displayed.
Declaration
public override string LabelFormat { get; set; }
Property Value
System.String
The label format. |
Overrides
Implements
Offset
Gets or sets the relative displacement of the label.
Declaration
public Point Offset { get; set; }
Property Value
System.Windows.Point
The offset. |
Position
Gets or sets the position of the label in the 3D space.
Declaration
public Point3D Position { get; set; }
Property Value
System.Windows.Media.Media3D.Point3D
|
Transform
Gets or sets the UIElement.LayoutTransform is to be applied to the label.
Declaration
public Transform Transform { get; set; }
Property Value
System.Windows.Media.Transform
The transform. |
Value
Gets or sets the numerical value of the tick point.
Declaration
public double Value { get; set; }
Property Value
System.Double
|
ViewportPosition
Gets or sets the position of the label in the 2D space (the Viewport space).
Declaration
public Nullable<Point3D> ViewportPosition { get; set; }
Property Value
System.Nullable<System.Windows.Media.Media3D.Point3D>
|
XY
Gets the XY position of the LabelData.
Declaration
public Point XY { get; }
Property Value
System.Windows.Point
The XY position. |
Explicit Interface Implementations
IFormattableData.Value
Declaration
double IFormattableData.Value { get; set; }
Returns
System.Double
|