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
SAS Super FREQ

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
SAS Super FREQ

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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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