add percentage to a bar graph with macro

classic Classic list List threaded Threaded
1 message Options
ro
Reply | Threaded
Open this post in threaded view
|

add percentage to a bar graph with macro

ro
Hi all,

I am trying to add percentage (in a box) to a bar graph with a macro, but lamentably I fault in this task, my macro is:

define !H (!positional !cmdend)
!do !i !in (!1)
GRAPH /BAR(GROUPED)= PCT BY   !i  BY Exp.Docente.
!doend  
!enddefine.

!H P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13.

Please any comment i would appreciate
Regards
Rodrigo