Hi, I'm using SAS 9.3 to present the bar with the same color by subjects who have more than one data.
However, the color of overlapping bars would be darker than others. Dose anyone have any suggestion to control the color of bars except for "transparency=0"?
Because the symbol in red in the red bars will be unobvious when I'm using "transparency=0".
No data, no picture, no code a bit hard to be specific.
Transparency= 0.5 perhaps?
Hello,
Can you show an example please? Do the bars have to overlap too? Maybe you can use stackedbar charts, or cluster your bar charts, so that they are side by side?
Many thanks,
Kriss
Hi djrisks,
I have figured it out. Because the overlapping bar caused when there's more than one data in the same subject and treatment. (data as below)
subject treatment start end startline endline
01 A 1 10 2 3
01 A 1 10 4 5
01 A 1 10 6 7
02 B 1 11 2 8
The color of subject A will be shaded when using "group" option.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
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.