{* This is intended as an example of how to present Elasticsearch facets, known now as aggregations. Example wiki page "chart" contents: {CUSTOMSEARCH(wiki="charts tpl")} {facet name="tracker_field_testUser"} {facet name="deep_categories_under_1"} {OUTPUT(template="templates/examples/search/facet_charts.tpl")} {chart type="pie" title="Users" colors="orange:yellow:red:purple:grey:blue:green:pink:black" class="col-sm-4" size="300:600"} {chart type="bar" title="Countries" colors="#888:#aaa:#ccc:#eee:#888:#aaa:#ccc:#eee:#888:#aaa:#ccc:#eee" class="col-sm-8" size="300:400"} {OUTPUT} {CUSTOMSEARCH} Example wiki page "chart tpl" contents for the form: {literal}