
TResourceAllocationChart draws a chart suitable for showing the allocation of shared resources. Those resources could represent shared rooms, cars, in fact anything at all.
Once you have a chart, you can:
- add or delete resources.
- add or delete allocations for each resource.
- change the bar style and colour of any resource, or of any allocation of a resource.
- change the appearance of any particular allocation by changing the pen or brush attributes in the OnAllocationDraw event, or by using the OwnerDraw style.
- drag the chart right or left.
- drag an allocation right or left.
- drag an allocation from one resource to another. This can be useful if, for example, the resource becomes unavailable.
- click and drag the end of an allocation to expand or contract it.
Continue Reading »