GlideAggregate - addTrend(String fieldName, String timeInterval)

Adds a trend for a field.

Table 1. Parameters
Name Type Description
fieldName String The name of the field for which trending should occur.
timeInterval String The time interval for the trend. The following choices are available: Year, Quarter, Date, Week, DayOfWeek, Hour, Value.
Table 2. Returns
Type Description