Displaying a Chart
Table of Contents
The Chart Display tag displays the facet provided in a chart.
The body of the Chart Display tag can contain a Series Facet tag for rendering multiple series using facets and also a Series Result List tag for rendering multiple series using results.
Along with this, there are other tags to customize the chart. These include the Chart Tooltip tag for modifying the tooltip, Chart Legend tag for modifying the legend, Chart Credit tag for adding a credit to the chart, and the Chart Export tag for exporting the chart.
Usage
Displaying a facet
To visualize information in facets using frequency to build the graph, use the facetName attribute:
<chart:display response="response" facet-name="current_products" title="Current Products" type="pie"></chart:display>
Displaying a polar chart
<chart:display response="response" facet-name="current_products" title="Current Products" type="line" radar-or-polar="polar"></chart:display>
Displaying a radar chart
<chart:display response="response" facet-name="current_products" title="Current Products" type="line" radar-or-polar="radar"></chart:display>
To see all related attributes, see the chart:credit tag documentation.