BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jorger
Calcite | Level 5

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????

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26

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

View solution in original post

1 REPLY 1
Cynthia_sas
Diamond | Level 26

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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1050 views
  • 0 likes
  • 2 in conversation