LabelInfo LabelCollection.CreateAndAddLabel(Quantity param1, Quantity param2, String param3)

Creates a new label and adds it to the chart at a specified position, where the label_text parameter is optional. The default label text is: “x: <x_value>, y: <y_value>” (example: “x: 0.3497, y: 1.9821”). An InvalidOperationException will be thrown when creating a Label at a location already assigned to another Label.

Parameters

  • param1
    Type: Quantity
  • param2
    Type: Quantity
  • param3
    Type: String

Return Value

Type: LabelInfo