Hide Comments
Hide Comments

Comments (0)

Lists the links in the collection. Use Items to access individual link in the collection. The value of the Index parameter corresponds to the Index property of RSGraphCharts|TRSGraphChartLink . It represents the position of the value in the collection.

The Items property is the default property for the class. You can access this property with the abbreviation Values[index], which is equivalent to Values.Items[index].
 
 

Namespace: FMX.RS.GraphCharts

expandingSyntax

Delphi

public
  property Items[Index: Integer]: TRSGraphChartLink read GetItem write SetItem; default;
 

Parameters

Index

Type: Integer

Property Value

Type: TRSGraphChartLink

expandingExamples

The following example creates a string list displaying the captions and values for all the values in the chart.

Delphi

var
   i: Integer;
   Strs: TStringList;
 begin
   Strs := TStringList.Create;
   for i := 0 to Chart1.Values.Count - 1 do
     Strs.AddObject(Chart1.Values[i].DisplayName, Chart1.Values[i]);
 end;

noteNote

Note that the AssignTo method already does this for you so this is an equivalent code block:

Delphi

var
   Strs: TStringList;
 begin
   Strs := TStringList.Create;
   Strs.Assign(Chart1.Values);
 end;

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb