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

I did want to drop you a note and tell you what a wonderful component. It's a must have component if you are a serious Delphi developer.
Miguel Henley, Brazil
More …

No malware No spam
McAfee Site Report
Web of Trust