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

VALUEHALIGN=START on the BLOCKPLOTs worked perfect!  but I had increase the width to 1000px to show all values. But no grey background :smileyconfused:

Jay54
Meteorite | Level 14

You will get the gray background around the graph if you use STYLE=DEFAULT, which is the default style for HTML destination prior to SAS 9.3.  To get white backgrounds, use STYLE=LISITNG or HTMLBLUE (SAS 9.3 or later).

If you really want the grey background and also gray behind the block plots, you need to add layout overlay around each blockplot like this:

          layout overlay / wallcolor=graphbackground:color walldisplay=none  xaxisopts=(display=none) yaxisopts=(display=none);

              blockplot x=visitx block=TDE / display=(values label) valuehalign=/*center*/left label='DE' repeatedvalues=true

                                       valueattrs=graphdata1(size=7.5 color=blue) labelattrs=graphdata1(size=7.5 weight=normal color=blue);

           endlayout;


mimi
Calcite | Level 5

Thanks Sanjay for the fast response! I will try this out!

mimi
Calcite | Level 5

That worked perfect for alignment!  but the background is still white I am not getting same as one in the sample screen print I posted. Is is because of version 3.0? :smileyconfused:

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 18 replies
  • 3415 views
  • 6 likes
  • 3 in conversation