BookmarkSubscribeRSS Feed
Calcite | Level 5

Hi everyone,


Is it possible to create vertical reference lines on at normal line chart?

On my chart (below) I want to report on the percentage of 5 minutes, 10 minutes, 13 minutes and 15 minutes and to do that, I'll need vertical reference lines unless there's a smarter way to do t.


If possible the best thing would be both a verical and a horizontal line that meets on the graph line for the specific minute.


2019-11-22 14_31_23-112_Ambulancetider - SAS® Visual Analytics – Google Chrome.jpg


I hope it makes sense.



Fluorite | Level 6

Hi Martin


In SAS Visual Analytics, if you use the time series object instead of the line chart object you should be able to create vertical and horizontal reference lines.


If that doesn't meet your requirements, you can always create a custom graph that will display dynamic reference lines. This is a really good article that describes how,



Obsidian | Level 7

Hi Martin,


If your reference line is static, you can create another variable with the static value and add it in the Data Roles.

This is a manual work around but an easy way.


Hope this helps.





Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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
  • 2 replies
  • 3 in conversation