Data visualization with SAS programming

Name Sgpanel Legend

Accepted Solution Solved
Reply
Super Contributor
Posts: 443
Accepted Solution

Name Sgpanel Legend

How can I format an sgpanel legend title.  I tried using

legend   label=("TEST"); but it does not format.  My legend displays with the database field of my group statement.

And looks like database_field_name.


Accepted Solutions
Solution
‎03-10-2016 11:05 AM
SAS Super FREQ
Posts: 862

Re: Name Sgpanel Legend

The LEGEND statement does not work with teh SG procedures. Inside of SGPANEL, use the KEYLEGEND statement:

 

keylegend / title="Test";

 

Hope this helps!

Dan

View solution in original post


All Replies
Solution
‎03-10-2016 11:05 AM
SAS Super FREQ
Posts: 862

Re: Name Sgpanel Legend

The LEGEND statement does not work with teh SG procedures. Inside of SGPANEL, use the KEYLEGEND statement:

 

keylegend / title="Test";

 

Hope this helps!

Dan

Super Contributor
Posts: 443

Re: Name Sgpanel Legend

Dan,

Wow, that solved what I needed.  Thanks for the 30 second reply.

Post a Question
Discussion Stats
  • 2 replies
  • 269 views
  • 0 likes
  • 2 in conversation