BookmarkSubscribeRSS Feed
helannivas88
Obsidian | Level 7

Hi,

 

I have a SAS work table where I'm generating a stacked bar graph out of that. For the graph, X axis will be date value. Also the stack will be a character value and sum will be the numeric value.

 

Actually in the sas table, I have around 10 date values but in the graph I'm getting only 7 bars and also the date ( X axis) is not exactly the same as in SAS table.

 

Not able to differentiate which bar belongs to which date? I'm using SAS EG 7.13 directly for generating the  bar, not writing any sas code.

 

Kindly advice to overcome this issue.

 

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

You need to add the discrete option. You can modify the code even if you used the wizard to create it. I have no idea is this option is available via the wizard.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 285 views
  • 0 likes
  • 2 in conversation