VALUEHALIGN=START on the BLOCKPLOTs worked perfect! but I had increase the width to 1000px to show all values. But no grey background :smileyconfused:
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;
Thanks Sanjay for the fast response! I will try this out!
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:
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.