[DevExpress Support Team: CLONED FROM T293381: MVC Report End User Report Designer Chart Parameter]
Where do I find the setting "Series.DataFilters" the report editor (ASP MVC report editor)?
Web Report Designer - It is not possible to assign a filter to XRChart series
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v15.2.4Download Official Update
- v15.1.8Download Official Update
Hi Ivan,
I have reproduced the issue and decided to forward it to our developers, so they can examine it thoroughly. This might take some time for us. Your patience is highly appreciated.
As a workaround, use the report scripting functionality to add the desired data filter to XRChart programmatically (as demonstrated in the DataFilterCollection help topic). For example, use the following code to add a data filter to XRChart series:
private void chart1_BeforePrint(object sender, System.EventArgs e) { (sender as XRChart).Series[0].DataFilters.Add("CategoryID", "System.Int32", DataFilterCondition.Equal, 1); }
See the attached video for more information on how to accomplish this task.