Add this property:
"enableChartOptionsFieldset": true,
in mapStoreConfig.js inside "ptype": "gxp_spatialqueryform"
to enable chartOptionsPanel in queryPanel
When the method change, the Y attribute should not reset.
Y Attribute should:
select the first available on startup
when the method change, keep the selection if possible, otherwise select the first available. If no attribute is compatible with the method, disable the generate button and set the combobox invalid with a tooltip that shows the problem : "There is no attribute compatible for this aggregation method in the layer"
Add this property: "enableChartOptionsFieldset": true, in mapStoreConfig.js inside "ptype": "gxp_spatialqueryform" to enable chartOptionsPanel in queryPanel