New to Telerik UI for WPFStart a free 30-day trial

Describes the appearance of the labels within a ChartAnnotation.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public struct ChartAnnotationLabelDefinition

Inherited Members ValueType.Equals(object)ValueType.GetHashCode()ValueType.ToString()

Properties

Gets or sets the Style instance that defines the appearance of the default label visual - TextBlock instance.

C#
public Style DefaultVisualStyle { readonly get; set; }

Gets or sets the string used to format the label content, using the method.

C#
public string Format { readonly get; set; }

HorizontalAlignment

HorizontalAlignment

Gets or sets the horizontal alignment.

C#
public HorizontalAlignment HorizontalAlignment { readonly get; set; }

Gets or sets the horizontal offset.

C#
public double HorizontalOffset { readonly get; set; }

Gets or sets the location of the label.

C#
public ChartAnnotationLabelLocation Location { readonly get; set; }

Template

DataTemplate

Gets or sets the DataTemplate instance that may be used to define custom-looking label.

C#
public DataTemplate Template { readonly get; set; }

VerticalAlignment

VerticalAlignment

Gets or sets the vertical alignment.

C#
public VerticalAlignment VerticalAlignment { readonly get; set; }

Gets or sets the vertical offset.

C#
public double VerticalOffset { readonly get; set; }