interface IDateOptions {
    dateCol: Measure | IMeasureLike;
    interval?: TInterval;
    useProtocolDay?: boolean;
    zeroDateCol?: Measure | IMeasureLike;
    zeroDayVisitTag?: string;
}

Properties

A measure object (with properties for name, queryName, and schemaName) of type date specifying the measure date.

interval?: TInterval

See Interval. The type of interval that should be calculated between the measure date and the zero date (if zeroDateCol is specified) or zero day (if zeroDayVisitTag is specified).

useProtocolDay?: boolean

If true, zeroDayVisitTag uses ParticipantVisit.ProtocolDay to calculate offsets; if false ParticipantVisit.Day is used. Defaults to true.

zeroDateCol?: Measure | IMeasureLike

A measure object (with properties for name, queryName, and schemaName) of type date specifying the zero date, used to align data points in terms of days, weeks, or months.

zeroDayVisitTag?: string

A VisitTag that will be used to find the ParticipantVisit used to align data points.