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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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