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>dfgraph3()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfGraph3()
Designs a 3D Graphic in page graphics
------------------------------------------------------------------------------
Syntax:

     dfGraph3(<cHeader>,<aArr>,< aArr1>,<nBar>) --> NIL

Parameters:

     <cHeader>  graphic Heading
     <aArr>     Array of descriptions
     <aArr1>    Array of values
     <nBar>     Type of bar to display. You should see dfGraph.ch

Returns:

     NIL

Description:

     Designs a 3D graphic in page graphics

Example:

     # include "dfGraph.ch"
     
     LOCAL aValue:={}, aStr:={}, nPos
     
     FOR nPos := 1 TO 12
         AADD{aStr, dfNum2Month(nPos))
         AADD(aValue, dfRnd()* 1000) )
     NEXT
     
     // Add the following line source code
     // used in dBsee
     // dfPushPal()
     
     dfSetVGA()
     dfGraph3("Sales", aStr, aValue)
     Inkey(0)
     dfTxtMode()
     
     dfSetVGA ()
     dfGraph3("Sales", aStr, aValue ,;
                  BAR_TOP_PYRAMIDAL)
     Inkey (0)
     dfTxtMode()
     
     dfSetVGA()
     dfGraph3("Sales", aStr, aValue ,;
               BAR_BOTTOM_PYRAMIDAL)
     Inkey (0)
     dfTxtMode()
     
     dfSetVGA()
     dfGraph3("Sales", aStr, aValue   ,;
             BAR_TOP_PYRAMIDAL_SIMPLY)
     Inkey (0)
     dfTxtMode()
     
     // Add the following line of source code
     // used in dBsee
     // dfPopPal()

See also:

     dfGraph(), dfModGrf(), dfSetVga(), dfTxtMode()

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

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