TPieSeries.LegendToValueIndex
TPieSeries
function LegendToValueIndex(LegendIndex: Integer): Integer; override;
Unit
Series
Description
Special internal function.
Returns the value index that corresponds to the LegendIndex parameter.
As Pie series slices can "grouped" ( see PieSeries TPieSeries.OtherSlice property ), it might happen the Legend items do not correspond linearly to the Series value indexes.