Visualize Search Results as a Data Series

To render information from fields of a result list into a data series, use the Series Result List tag and use the labelField and valueField attributes.

This tag must be nested in the Chart Display tag.

<chart:display response="${response}" title="Credit Score and Lifetime Value" subtitle="By Customer">
    <series:resultList labelField="name" valueField="credit_score" type="column" title="Credit Score"
    <series:resultList labelField="name" valueField="lifetime_value" type="scatter"
                       title="Lifetime Value" color="#006600"/>

Multi Series Result List Chart