BookmarkSubscribeRSS Feed
monday89
Fluorite | Level 6

I have the following dataset

 

days cum_freq cum_percent group
2 1 25 1
4 2 75 1
6 4 100 1
25 1 50 2
30 2 100 2
12 8 73 3
15 11 100 3
5 5 100  

 

I would like to show cum_frequency for each data point in the line graph

 


proc sgplot data=have;
series x=days y=cum_percent/ group=group markers outside=cum_freq;
run;

 

outside=cum_freq not working

1 REPLY 1
ballardw
Super User
proc sgplot data=have;
series x=days y=cum_percent/ group=group markers datalabel=cum_freq;
run;

if you want the value displayed with the marker.

 

YAXISTABLE if you want the values displayed outside of the graph area might work

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 904 views
  • 0 likes
  • 2 in conversation