Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfgraph()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfGraph()
Designs a 3D graphic in page graphics
------------------------------------------------------------------------------
Syntax:

     dfGraph(<cHeader>,<aArr>,
               <aArr1>,<aArr2>,<aArr3>,<nBar>) --> NIL

Parameters:

     <cHeader>  graphic Heading
     <aArr>     The array to display
     <aArr1>    Secondary array to display
     <aArr2>    Third array to display
     <aArr3>    Fourth array to display
     <nBar>     Type of bar to display. refer to fGraph.ch

Returns:

     NIL

Description:

     You/he/she/it design a graph 3D on a graphic page

Example:

     # include "dfGraph.ch"
     
     // Add the following line of source code
     // used in dBsee
     // dfPushPal()
     
     dfSetVga()
     dfGraph( "Sales",;
          {" 1993,"{ 100, 300, 400, 450, 400, 700, 100}} ,;
          {" 1994,"{ 120, 200, 100, 550, 500, 500, 120}} ,;
          {" 1995,"{ 130, 300, 200, 650, 500, 500, 130}} ,;
          {" 1996,"{ 140, 350, 330, 750, 560, 700, 140}} ,;
                                           BAR_NORMAL_BAR)
     Inkey (0)
     dfTxtMode()
     
     dfSetVga()
     dfGraph("Sales",;
          {" 1993,"{ 100, 200, 300, 350, 323, 700, 100}} ,;
          {" 1994,"{ 120, 220, 200, 750, 323, 500, 120}} ,;
          {" 1995,"{ 130, 230, 300, 650, 423, 500, 130}} ,;
          {" 1996,"{ 140, 220, 350, 650, 523, 700, 140}} ,;
                                        BAR_TOP_PYRAMIDAL)
     Inkey (0)
     dfTxtMode()
     
     dfSetVga()
     dfGraph( "Sales",;
            {" 1993,"{ 1030, 3323, 7330, 1030}} ,;
            {" 1994,"{ 1230, 3323, 5330, 3120}} ,;
            {" 1995,"{ 1330, 4423, 5330, 3130}} ,;
            {" 1996,"{ 1430, 5523, 7330, 3140}} ,;
                          BAR_BOTTOM_PYRAMIDAL)
     Inkey (0)
     dfTxtMode()
     
     // Add the following line of source code
     // used in dBsee
     // dfPopPal()

See also:

     dfGraph3(), dfModGrf(), dfSetVga(), dfTxtMode()

See Also: dfGraph3() dfModGrf() dfSetVga() dfTxtMode()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson