Values for from and to must be a number or DateTime.
from
to
Optional
Readonly
Starting value of the bucket (inclusive).
Key to assign the bucket.
Ending value of the bucket (non-inclusive).
Values for
from
andto
must be a number or DateTime.