Vega-lite - transform calculate methods like toDate(...)

I have to following transformation in my vega-lite spec:

transform: [
	{
	  calculate: "toDate(datum._source['timestamp'])"
	  as: "time"
	}
]

I would need something like

toDateTime(...)

Which other calculate methods are available here?

This is the list of methods available in vega-lite:


I haven't searched it extensively, but you can look and see if you can find something that fits your need.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.