1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
goptions reset=all ;* ftext="Helvetica" hsize=3in vsize=3in;
title1 "Synthèse France entière ";
ods pdf file='\\W2kserv37\SasUsers\SASUSERS\201010\piechart.pdf' bookmarkgen=off startpage=now;
ods pdf startpage=never;
ods noproctitle;
ods escapechar='^';
ods pdf text='^S={font_size=36pt}';
title1;
PATTERN1 COLOR='#CCFF66';
PATTERN2 COLOR='#FF99FF';
proc report data=tabres.optardef2 nowd spanrows COMPLETEcols style(HEADER)=[background=#CADB36 font_size=9pt font_weight=bold];
column modalitetarif optiontarif presencepharmacie Nc strate0
strate1
strate2
strate3
strate4
strate5
strate6
strate7
strate8
Total
Partpct
;
define modalitetarif/group 'Modalité Tarifaire' order=data ;
define optiontarif /order descending 'Option Tarifaire' style=[background=$OptionColor. font_weight=bold]
style(header)=[background=#CADB36 font_size=9pt font_weight=bold];
define presencepharmacie/group 'PUI' format=$pui. ;
define Nc/ format=entier.;
define strate0/ format=entier.;
define strate1/ format=entier.;
define strate2/ format=entier.;
define strate3/ format=entier.;
define strate4/ format=entier.;
define strate5/ format=entier.;
define strate6/ format=entier.;
define strate7/ format=entier.;
define strate8/ format=entier.;
define total/ format=entier.;
define Partpct /'Part %' format=percent6.2 style=[font_weight=bold];
break after modalitetarif / color=BLUE summarize style=[background=#FFFFFF font_size=9pt font_weight=bold];
run;
ods layout start width=21cm height=6cm columns=3 rows=1 column_widths=(6cm 6cm 6cm) row_heights=(6cm) column_gutter=0.2cm;
ods region row=1 column=1;
ods pdf text="^S={just=right font=('Times Roman',9PT,Bold Italic)}Ensemble des conventions";
PROC GCHART DATA =optardef
;
PIE optiontarif /
SUMVAR=total
TYPE=SUM
NOLEGEND
SLICE=NONE
PERCENT=INSIDE
VALUE=NONE
OTHER=4
OTHERLABEL="Other"
COUTLINE=GREEN
NOHEADING
;
where modalitetarif='Total';
RUN; QUIT;
ods region row=1 column=2;
ods pdf text="^S={just=right font=('Times Roman',9PT,Bold Italic)}Convetions sous DOMINIC";
PROC GCHART DATA =optardef
;
PIE optiontarif /
SUMVAR=total
TYPE=SUM
NoLEGEND
SLICE=NONE
PERCENT=INSIDE
VALUE=NONE
OTHER=4
OTHERLABEL="Other"
COUTLINE=GREEN
NOHEADING
;
where modalitetarif='dominic';
RUN; QUIT;
ods region row=1 column=3;
ods pdf text="^S={just=right font=('Times Roman',9PT,Bold Italic)}Conventions sous PATHOS";
PROC GCHART DATA =optardef
;
PIE optiontarif /
SUMVAR=total
TYPE=SUM
NOLEGEND
SLICE=NONE
PERCENT=INSIDE
VALUE=NONE
OTHER=4
OTHERLABEL="Other"
COUTLINE=none
NOHEADING
;
where modalitetarif='pathos';
RUN; QUIT;
TITLE; FOOTNOTE;
ods layout end;
ods pdf startpage=now;
ods pdf close; |
Partager