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

Thanks for the component. It's quite amazing, powerful and unique.
Raymond Kennington, Programming Solutions (see the full quote)
More …

No malware No spam
McAfee Site Report
Web of Trust