[]
        
(Showing Draft Content)

C1.Win.C1Chart.Label

Label Class

Contains all properties that help define and position the chart label.

Inheritance
Label
Namespace: C1.Win.C1Chart
Assembly: C1.Win.C1Chart.4.8.dll
Syntax
[TypeConverter(typeof(HiddenPropsTypeConverter))]
public class Label

Constructors

Name Description
Label()

Creates a new instance of Label class.

Properties

Name Description
AttachMethod

Gets or sets the label attachment method.

AttachMethodData

Gets or sets the attachment data for the label.

Compass

Gets or sets the position of the label relative its specified location.

Connected

Gets or sets whether a connecting line is drawn to an associated data point.

Image

Gets or sets the label image.

Location

Gets the location of the label in chart control client coordinates.

Name

Gets or sets the label name.

Offset

Gets or sets the offset distance in pixels from an associated data point.

RotationOverride

Gets or sets the rotation angle in degrees of the label, overriding the Rotation value set in the style. Applies only to label with Compass values other than Radial and RadialText. Only non-zero values are applied.

Size

Gets or sets the size of the label in chart control client coordinates.

SizeDefault

Gets or sets the default size of the label.

Style

Gets the Style object of the label.

Text

Gets or sets the text of the label.

TooltipText

Gets or sets the tooltip text.

Visible

Gets or sets the label visibility.

Methods

Name Description
Dispose()

Readies the chart object for garbage collection.

ResetSizeDefault()

Resets Label size so it is calculated automatically.

ResetStyle()

Resets Label style inheritance state.

ShouldSerializeSizeDefault()

Indicates whether the SizeDefault has a default value.

ShouldSerializeStyle()

Indicates whether the Style has a default value.