Hide Comments
Hide Comments

Comments (0)

Lists the bubble values in the chart. Use Items to access individual bubbles in the collection. The value of the Index parameter corresponds to the Index property of TRSBubbleChartValue. It represents the position of the value in the collection.

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

Namespace: RSBubbleCharts

expandingSyntax

Delphi

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

Parameters

Index

Type: Integer

Property Value

Type: TRSBubbleChartValue

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