The TssResourceAllocationChart uses four classes to represent various components:
- TssResourceAllocationChart: represents the whole chart.
- TssResource: represents a single resource that can be allocated.
- TssResourceAllocation: represents a single allocation of a single resource.
- TssResourceAllocationChartAppearance: properties the control the appearance of the chart.
- Various types used by the chart.
TssResourceAllocationChartAppearance
TssResourceAllocationChartAppearance is a helper class that holds properties that determine the appearance of the chart. You can create different instances of this class to, for example, cause printed output to look different from screen output.Color | ![]() ![]() |
TColor |
The colour of the outer part of the chart underneath the resource names and date labels.. | ||
DateFormat | ![]() ![]() |
string |
The format used for the date labels. Leave blank to use the default regional setting short date format. | ||
DateLabelBase | ![]() ![]() |
TDateTime |
DateLabelBase allows the position of the date/time labels to be specified. Use in conjunction with DateLabelInterval to control the exact position of the date/time labels.
Set DateLabelBase to 0 to revert to the automatic positioning of the labels. Note: DateLabelBase and DateLabelInterval are not used if the OnDrawDateLabel event is set. |
||
DateLabelInterval | ![]() ![]() |
double |
The interval between date/time labels.
Note: DateLabelBase and DateLabelInterval are not used if the OnDrawDateLabel event is set. |
||
DateLineBase | ![]() ![]() |
TDateTime |
DateLineBase allows the position of the date/time lines to be specified.
Use in conjunction with DateLineInterval to control the exact position of the date/time lines.
Set DateLineBase to 0 to revert to the automatic positioning of the lines.
Note: DateLineBase and DateLineInterval are not used if the OnDrawDateLine event is set. |
||
DateLineColor | ![]() ![]() |
TColor |
The colour of the vertical lines drawn at date/time labels. | ||
DateLineInterval | ![]() ![]() |
double |
The interval between date/time lines. Set it to 0.0 to draw
date/time lines at the same location as the date/time labels.
Note: DateLineBase and DateLineInterval are not used if the OnDrawDateLine event is set. |
||
DateLineStyle | ![]() ![]() |
TPenStyle |
The pen style used to draw the date marker lines. Defaults to psDot. The lines are not drawn if the style is set to psClear. | ||
DateTimeFont | ![]() ![]() |
TFont |
The font of the date/time labels. | ||
DateTimeStyle | ![]() ![]() |
TssDateTimeStyle |
The style of date/time labels. Defaults to dtDateAndTime. | ||
PlotBackColor | ![]() ![]() |
TColor |
The colour of the plot background area. | ||
PlotBackAlternateColor | ![]() ![]() |
TColor |
The PlotBackColor and PlotBackAlternateColor allow the plot
background to be displayed in bands of alternate colours. The interval, or
span of each coloured band is determined by PlotBackAlternateInterval. Background banding is not displayed if PlotBackColor and PlotBackAlternateColor are the same, or if PlotBackAlternateInterval is 0. |
||
PlotBackAlternateInterval | ![]() ![]() |
double |
The interval used for each band of colour. | ||
PlotBorderColor | ![]() ![]() |
TColor |
The colour of the lines making up the rectangle surrounding the actual chart area. | ||
ResourceBottomMarginRows | ![]() ![]() |
TssIntegerZeroOrGrearter |
The number of "rows" to leave clear at the bottom of the chart. | ||
ResourceLineColor | ![]() ![]() |
TColor |
The colour of the lines drawn behind resources. | ||
ResourceLineStyle | ![]() ![]() |
TPenStyle |
The style of the lines drawn behind resources. The lines are not drawn if the style is set to psClear. The style psSolid is always used if the line width is greater than 1. | ||
ResourceLineWidth | ![]() ![]() |
TssIntegerZeroOrGrearter |
The width of the lines drawn behind resources. The lines are not drawn if the width is set to 0. | ||
ResourceNameAlignment | ![]() ![]() |
TAlignment |
The alignment of the resource names. | ||
ResourceNameFont | ![]() ![]() |
TFont |
The font used to display the resource names. | ||
ResourceNameWidth | ![]() ![]() |
integer |
The width of the resource name column. Set to 0 to automatically determine the width, or less than zero to prevent the display of the resource names. | ||
ResourceSeparatorLineColor | ![]() ![]() |
TColor |
The colour of the lines drawn between adjacent resources. | ||
ResourceSeparatorLineStyle | ![]() ![]() |
TPenStyle |
The style of the lines drawn between adjacent resources. The lines are not drawn if the style is set to psClear. The style psSolid is always used if the line width is greater than 1. | ||
ResourceSeparatorLineWidth | ![]() ![]() |
TssIntegerZeroOrGrearter |
The width of the lines drawn between adjacent resources. The lines are not drawn if the width is set to 0. | ||
ResourceTopMarginRows | ![]() ![]() |
TssIntegerZeroOrGrearter |
The number of "rows" to leave clear at the top of the chart. | ||
RowGap | ![]() ![]() |
TssIntegerZeroOrGrearter |
The vertical gap between rows. | ||
RowHeight | ![]() ![]() |
TssIntegerZeroOrGrearter |
The height of the allocation bars. Set to zero to use a value based on the height of the currently selected font. | ||
ShadowColor | ![]() ![]() |
TColor |
The colour of the allocation shadows. | ||
ShadowDepth | ![]() ![]() |
TssIntegerZeroOrGrearter |
The depth of the allocation shadows. | ||
TimeFormat | ![]() ![]() |
string |
The format used for the time labels. Leave blank to use the default regional setting time format. | ||
Assign | ![]() ![]() |
(other: TssResourceAllocationChartAppearance) |
Starts buffering updates. One call to EndUpdate should be called for each call to BeginUpdate. | ||
BeginUpdate | ![]() ![]() |
( ) |
Starts buffering updates. One call to EndUpdate should be called for each call to BeginUpdate. | ||
EndUpdate | ![]() ![]() |
( ) |
Stops buffering updates. One call to EndUpdate should be called for each call to BeginUpdate. | ||
SetDefaults | ![]() ![]() |
( ) |
Restores the default settings. |
- Overview
- Download
- Screen Shots
- Properties
- FAQ & Getting Started
- User Comments
- Support Forum
- Change History
- License
- Buy
What People Say |
---|
![]() Resource Allocation Chart is one of those rare components that really fires the imagination. It looks great and is extremely flexible. A must for any application that allocates time slots. ![]() Trevor Pegley, Visionhall |
More … |