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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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