Visualise Facet Filters as a Bar Chart

The Facet Chart visualisation uses a simple HTML only way of displaying facet filters as a bar chart.

Facet chart

Default Usage

To use the Facet Chart widget, simply specify the facet to display and the query:

<chart:facetChart
    facet="${response.facets.source}"
    query="${query}" />

Custom Usage

To customise the Facet Chart widget further, simply specify additional optional attributes:

<visualization:facetChart
    facet="${response.facets.source}" query="${query}"
	show="5"
	showMore="10"
	maxCharacters="20"
	title="My Custom Title"
	showCount="true"
    />