I use the proc gchar with this code:
Ods tagsets.nostyle body=_webout path=&_tmpcat (url=&_replay) rs=none ;
Goptions reset =all
border
device =actximg;
Goptions xpixels =800;
Goptions colors=(cxE8FFE8);
Goptions htext =12pt;
Title1 "Presupuesto";
/* Desvío sobre el Presupuesto */
Proc Gchart Data = Flistado_Graf_01_SegBac;
Format Importe Commax20.3;
Label Importe = "Desvío sobre el Presupuesto: &Combo_Epigr_Des";
Label Concepto = "Segmento";
Hbar3d Concepto / sumvar=Importe Outside=Sum width=20 space=5 descending;
Run;
Proc Gchart Data = Flistado_Graf_02_Dibaco;
Format Importe Commax20.3;
Label Importe = "Desvío sobre el Presupuesto: &Combo_Epigr_Des";
Label Concepto = "Director";
Hbar3d Concepto / sumvar=Importe Outside=Sum width=20 space=5 descending ;
Run;
BUT DON'T DRAW The TITLE "Presupuesto" in the chart: WHY????
Hi: I am not sure about "TAGSETS.NOSTYLE" and what kind of output it is creating. Or why you are using a custom tagset template. And, it is impossible to tell what application you need to use to open this file (a browser, Word??).
The bottom line is that most ODS destinations would need the GTITLE option or the NOGTITLE option to control whether the title goes into the image created by GCHART (GTITLE) or whether the title goes into the "wrapper" file (NOGTITLE).
So without a better understanding of TAGSETS.NOSTYLE it is impossible to comment further. I am running SAS 9.4 M3 and I do not have TAGSETS.NOSTYLE in the production template store, so this must be a user-defined destination tagset.
Perhaps you need to work with Tech Support on this so they can look at ALL of your code.
cynthia
Hi: I am not sure about "TAGSETS.NOSTYLE" and what kind of output it is creating. Or why you are using a custom tagset template. And, it is impossible to tell what application you need to use to open this file (a browser, Word??).
The bottom line is that most ODS destinations would need the GTITLE option or the NOGTITLE option to control whether the title goes into the image created by GCHART (GTITLE) or whether the title goes into the "wrapper" file (NOGTITLE).
So without a better understanding of TAGSETS.NOSTYLE it is impossible to comment further. I am running SAS 9.4 M3 and I do not have TAGSETS.NOSTYLE in the production template store, so this must be a user-defined destination tagset.
Perhaps you need to work with Tech Support on this so they can look at ALL of your code.
cynthia
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.