Macro: DFBEGINDIAGRAM

Module location: Winprint_Commands.pkg line 394 (view source)

*** DFBeginDiagram *** 1. Required = Type of diagram //DFGR_?? *** 2. Required = Type of effect //DFGR_?? *** 3. Required = Y-Position using current metrics //Constant can be used !! *** 4. Required = X-Position using current metrics *** 5. Required = Height *** 6. Required = Width *** 7. Optional = Display XY Axis (true/false), valid ONLY for bar charts *** 8. Optional = Set current position or not //DFGR_NOPOS, DFGR_SETPOS ***

 #IF (!0>6)
    Send DFCreateDiagram of WinPrintID !1 !2 !5 !6 !7
 #ENDIF
 #IF (!0=6)
    Send DFCreateDiagram of WinPrintID !1 !2 !5 !6 (false)
 #ENDIF
 #IF (!0=8)
    Send DFDrawDiagram   of WinPrintID (DFCurrent_Diagram(WinPrintID)) !3 !4 !8
 #ENDIF
 #IF (!0<8)
    Send DFDrawDiagram   of WinPrintID (DFCurrent_Diagram(WinPrintID)) !3 !4 (true)
 #ENDIF