AddLabel (Dundas Pie Chart Server 1.0)

From Dundas

AddLabel

Overview | Properties | Methods

Call this method to set legend elements.

Syntax

long = ChartObject.AddLabel(Text As String)

The AddLabel method syntax has the following parts:

Part

Description

Text

The text for the legend element.

long

Returns a long indicating the success or failure of the operation. Zero (0) is returned if successful, otherwise a non-zero value is returned.

  Returns

A long which indicates the success/failure of the operation. Zero (0) is returned if successful, otherwise a non-zero value is returned. If an error occurs use this return value as the argument for GetErrorText in order to retrieve a relevant text error message.

Remarks

AddLabel lets you set legend elements programmatically.