Hi,
I wanted to know if there was a way to create a Gauge chart through SAS code.
Thanks,
Luca
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
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
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;
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.