Refresh Pie Chart based on Query Results

1736
1
10-07-2015 11:39 AM
NiravShah
New Contributor

I really like how the pie chart and statistics refresh when a layer filter is turned on or off in the map widget.

Can I configure the pie chart and statistics widgets so they refresh based on features returned from a query in the query widget?

If not, is there some sample code somewhere showing how to force the piechart and stats widgets to refresh based on what's returned from a query?

Thanks!

Kirk

Tags (1)
0 Kudos
1 Reply
MaksimMazor
New Contributor

In the configuration options of the pie chart, you can set the Data Source to be the results of the query