Calculating time interval manually in Vega

Hi,

I have a Vega chart where I want to specify my own time intervals according to min-max time differences. auto_interval is not given me what I want, so I want to calculate it manually and give to aggr query. Is it possible?

I don't think you can do calculations in Vega at the query part; instead you would need to get all the data at the minimum aggregation level and then do that transformation later.