How to add resources to the chart.


Use the AddResource method of the chart. The optional colour and style arguments become the defaults for allocations of this resource, although it is possible to override the defaults for each allocation if desired.

var
  r1, r2: TssResource;
begin
  r1 := RAC.AddResource('My Resource', clRed, rsBlockArrow);
  // now use r1 to add allocations or change the
  // properties of "My Resource"

  // add a second resource
  r2 := RAC.AddResource('My Other Resource', clBlue);
end;
What People Say

Very nice component! It is very useful for me.
Andrea Benati, Edis Spa Unipersonale, Italy
More …

No malware No spam
McAfee Site Report
Web of Trust