[]
        
(Showing Draft Content)

C1.Win.C1Chart.ValueLabel

ValueLabel Class

Defines the type of chart label's annotation used for displaying text defined at a specific axis coordinate.

Inheritance
ValueLabel
Implements
Namespace: C1.Win.C1Chart
Assembly: C1.Win.C1Chart.4.8.dll
Syntax
public class ValueLabel : ICloneable

Constructors

Name Description
ValueLabel()

Creates a new instance of ValueLabel class.

Properties

Name Description
Appearance

Gets or sets the appearance of ValueLabel.

BackColor

Get or sets the background color of ValueLabel.

Color

Get or sets the color of ValueLabel.

DateTimeValue

Gets or sets the axis value to be replaced by the ValueLabel using a DateTime value.

GridLine

Gets or sets a value indicating whether a grid line is drawn at the ValueLabel.

MarkerRectangle

Get the marker rectangle of ValueLabel.

MarkerSize

Gets or sets the marker size of ValueLabel.

Moveable

Gets or sets a value indicating whether a ValueLabel can be dragged by user.

MovingDateTimeValue

Gets the new ValueLabel DateTimeValue of a moving ValueLabel during a drag operation. This value differs from the DateTimeValue property only while the ValueLabel is being dragged by the mouse making it is most useful in the ValueLabel.ValueChanging event.

MovingNumericValue

Gets the new ValueLabel Numeric value of a moving ValueLabel during a drag operation. This value differs from the NumericValue property only while the ValueLabel is being dragged by the mouse making it most useful in the ValueLabel.ValueChanging event.

NumericValue

Gets or sets the axis value to be replaced by the ValueLabel by specifying a numeric value that can be implicitly converted to double.

Rectangle

Get the rectangle occupied by the text of ValueLabel.

Text

Gets or sets the displayed text value for the ValueLabel.

Methods

Name Description
ToString()

Events

Name Description
DrawMarker

Fires when value label marker is drawn.

ValueChanged

Fires when position of ValueLabel was changed.

ValueChanging

Fires when the position of a ValueLabel is changing due to dragging the marker.