BookmarkSubscribeRSS Feed
Hb21Pzn
Calcite | Level 5

Hi, 

 

I would like to bulid a timeseries plot in VA.

On x axis should be variable in date format which is absolutely fine and is visible on plot presented below. However, I have faced the problem with Y axis, where I would like present time which correspond to particular date. I can only show that as numeric (number of seconds from midnight). I fully understand that it should be in numeric to put value on plot, but is there any way to present those data as time format on vizualization?

 

va_timeseries.png

 

Thank you very much for your help.

 

Best Regards,

Hubert

1 REPLY 1
ballardw
Super User

Does that y value of 371646 actually correspond to 103:14:06 (hours:minutes:seconds) ?

 

If so, can you assign a time10. format to the y variable?

 

Note that this blog

https://blogs.sas.com/content/sgf/2016/03/22/making-best-use-of-date-formats-in-visual-analytics-des...

 

shows using and "elapsed time" role and a time8. format. I suspect you may need more of a time10. OR a custom format. But if the value is actually seconds no transform or applied function should be needed.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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