The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Bar3D


Unit:SDL_rchart
Class:TRChart
Declaration:procedure Bar3D (llx, lly, urx, ury: double; Depth: integer; Angle: integer);

The method Bar3D displays 3D bars of any size. The user is required to specify the dimensions of the front rectangle (parameters llx, lly, urx, and ury ) in real-world coordinates. The depth has to be specified in pixel coordinates (0..100), the angle is specified in degrees (0..180). The line width of the 3D bar frame may be adjusted by the property LineWidth. The colors of the 3D bar are determined by the properties DataColor (= frame of bar) and FillColor (= body of bar).

RCHBAR3D.gif

Hint: In the Light Edition the number of chart elements is restricted to 1000 elements.

Example: RCH3DBAR.DPR
  This example program shows a sample 3D bar diagram. The height of the bars, their common depth, and their common angle can be changed by using scrollbars.

Example: This method is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): percentile, rch3dbar



Last Update: 2016-Feb-11