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

Hi,

I wanted to know if there was a way to create a Gauge chart through SAS code.

 

Gauge.png

 

Thanks,

Luca

1 ACCEPTED SOLUTION

Accepted Solutions
HarrySnart
SAS Employee

Hi @luca87 , I'd recommend you look at some of the examples on robslink. 

 

Here's a nice example KPI dashboard with something similar: https://robslink.com/SAS/democd26/kpidash_info.htm 

 

You can view the example dashboard here: https://robslink.com/SAS/democd26/kpidash.htm

 

And source code here: https://robslink.com/SAS/democd26/kpidash.sas

 

Hope this helps

Harry

View solution in original post

4 REPLIES 4
HarrySnart
SAS Employee

Hi @luca87 , I'd recommend you look at some of the examples on robslink. 

 

Here's a nice example KPI dashboard with something similar: https://robslink.com/SAS/democd26/kpidash_info.htm 

 

You can view the example dashboard here: https://robslink.com/SAS/democd26/kpidash.htm

 

And source code here: https://robslink.com/SAS/democd26/kpidash.sas

 

Hope this helps

Harry

GraphGuy
Meteorite | Level 14
goptions xpixels=300 ypixels=100;
proc gkpi mode=basic;
hslider actual=.32 bounds=(0 .50 .70 1.00) / 
 format="percent7.0" noavalue bfont=(h=12pt) 
 colors=(cxdd5757 cxffcc32 cx15b57b);
run; quit; 

GraphGuy_0-1646833046109.png

 

Ksharp
Super User
COOL !

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1833 views
  • 10 likes
  • 4 in conversation