[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomBarChart - base class for TBarChart
Source position: chart.pp line 69
type TCustomBarChart = class(TPanel) |
||
protected |
||
procedure Paint; override; |
|
|
function GetControlClassDefaultSize; override; |
|
Find the default size for this class of controls (by reference to parents) |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomBarChart: calls inherited Create and creates the bars, sets initial bounds and label position |
destructor Destroy; override; |
|
Destroy - destructor for TCustomBarChart: frees the bars and calls inherited Destroy |
procedure Clear; |
|
Clear - remove all previous contents and start with a blank BarChart |
function AddBar(); |
|
AddBar - add a bar with the specified properties (name, value and colour) to the BarChart |
function GetBar(); |
|
GetBar - collect the data for one of the bars |
function BarCount; |
|
BarCount - number of bars in the chart |
procedure BeginUpdate; |
|
BeginUpdate - start updating |
procedure EndUpdate; |
|
EndUpdate - finish updating |
procedure UpdateBarChart; |
|
UpdateBarChart - fill in any new information |
published |
||
property Bars: TCollection; [rw] |
|
Bars - the collection of bars that comprise the BarChart |
property Depth: Byte; [rw] |
|
The Depth of the bars in the chart |
property LabelPosition: TPosLabel; [rw] |
|
LabelPosition - left, centered or right |
end; |
|
TCustomBarChart - base class for TBarChart |
|
| | ||
TPanel |
||
? | ||
TObject |
lazarus-ccr.sourceforge.net |