SummaryTableWriter - setTitle(String title)

Sets the title of the summary set, which is also the chart title.

Table 1. Parameters
Name Type Description
title String Title given to the summary set that is used as the chart title. Also used as the key field for chart generators to determine whether the data was generated.
Table 2. Returns
Type Description
void
var opened = new SummaryTableWriter('incident', '');
opened.setTitle("Trend of Open Incidents");
opened.setTrend('opened_at', 'month');
opened.generate();