SetCollectedLimit (Dundas Pie Chart Server 1.0)

Dundas

SetCollectedLimit

Overview | Properties | Methods

Sets the value at which a data element (pie slice) will be collected.

Syntax

long = PieChartObject.SetCollectedLimit(Limit As Double, [LimitType As Long])

The SetCollectedLimit method syntax has the following parts:

Part

Description

Limit

The value at which a data element will become a "collected" element.

LimitType

The limit type. If this is zero (0) then the size of the element as a percentage will be used. If this is set to one (1) then the size of the pie element will be used.

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 you can use this return value as the argument for GetErrorText in order to retrieve a relevant text error message, or alternatively you can rem out the "On Error Resume Next" statement and observe the thrown exception for a description of the error.

Remarks

Small data elements are "collected" and then displayed together as one pie slice called the "collected" element. SetCollectedLimit determines at which point an element will be a part of the collected element.

See Also: Overview | SetCollectedProp