vega-lite-api

vl.hours(field, as)

A time unit operation for hours.

hours Method Overview

hours API Reference

# hours.as(value)

The output field to write the timeUnit value.

# hours.equals(equal)

Logical equals (==) comparison.

# hours.field(value)

The data field to apply time unit.

# hours.gt(gt)

Logical greater than (>) comparison.

# hours.gte(gte)

Logical greater than or equal to (>=) comparison.

# hours.inRange(…range)

Logical value in range test.

# hours.lt(lt)

Logical less than (<) comparison.

# hours.lte(lte)

Logical less than or equal to (<=) comparison.

# hours.oneOf(…oneOf)

Logical set membership test.

# hours.timeUnit(value)

The timeUnit.

# hours.valid(valid)

Logical valid value test.