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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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