- 4.37.2.3. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.3. Bar procedure
4.37.2.3. Bar procedure
Targets: MS-DOS, Win32
Graph Unit
Draws a bar with the current fill color.
Declaration:
procedure Bar(X1, Y1, X2, Y2: Longint);
Remarks:
Bar draws a filled-in rectangle (used in bar charts, for example).
It uses style and color defined by
SetFillColor,
SetFillPattern or
SetFillStyle.
To draw an outlined bar, call Bar3D
with a zero depth.
- 4.37.2.3. -