BookmarkSubscribeRSS Feed
mahadeep2627
Fluorite | Level 6

Hi Community,

I Have created a custom graph(Needle Plot and Time Series Plot) in SAS Viya Using Build Custom Graph.But when i tried to add reference Line into that i am not able to do so.where to find option for reference line,please help me out for the same.

 

Thanks

 

mahadeep2627_1-1592392475014.png 

 

1 REPLY 1
Mike_Drutar
SAS Employee

Hello!

 

I’m not aware of a way to add a reference line from the “Options” menu in the SAS Graph builder.  However, as an alternative approach, you can make your own reference line for your custom graph by adding an additional Series graph element and adding a "Data Label" role to it. 

 

Here's an article which shows how to do this:

https://communities.sas.com/t5/SAS-Communities-Library/3-steps-to-create-dynamic-reference-line-labe...

 

- Mike

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
  • 1631 views
  • 0 likes
  • 2 in conversation