Adds new label and accepts initialization parameters.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public int Add(
	Object val,
	string text
)
Visual Basic
Public Function Add ( _
	val As Object, _
	text As String _
) As Integer

Parameters

val
Type: System..::..Object
The val parameter specifies the value of the axis to be replaced.
text
Type: System..::..String
The text parameter specifies the string that will replace the axis value annotation.

Return Value

The index of new label.

See Also