Skip to main content
Table of Contents

TTMSFNCDistributionValues.GetPercentOfAbsoluteTotal Method

Returns the item's value expressed as a percentage of the combined total of all items. The running totals are recomputed automatically when the cached total is stale.

API unit family: TMSFNCWidgetDistributionIndicator Declaring type: TTMSFNCDistributionValues

Syntax

FMX.TMSFNCWidgetDistributionIndicator.hppPascalC++
function GetPercentOfAbsoluteTotal(Index: Integer): Double;
double __fastcall GetPercentOfAbsoluteTotal(int Index);

Parameters

Name Description
Index Zero-based index of the item to evaluate.

Returns

Percentage in the range 0 to 100 of the item's share of the total.