TiPieChart.AddItem

TiPieChart

Adds an item to the control.

procedure AddItem(Title : String; Color : TColor; Value : Double);

Description

Call AddItem to add an item to the control. There is no limit to the number of items that can be added other than the size of the control and how many items can be displayed in the legend if shown.

Example

Delphi

iComponent.AddItem('Item 1', clRed, 50);

C++ Builder

iComponent->AddItem("Item 1", clRed, 50);

Contents | Index | Previous | Next