Skip to main content
A newer version of this page is available. .

DataFilter Class

Defines specific filter conditions of a particular series.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v18.2.dll

Declaration

public class DataFilter :
    ChartNonVisualElement,
    IDataFilter,
    ICloneable

Remarks

The DataFilter class contains settings that define specific filter conditions to be applied to the corresponding series.

A series maintains instances of the DataFilter class in its Series.DataFilters collection, represented by an object of the DataFilterCollection type.

When one or more data filter objects are created for a series, the series will only be represented within a chart control’s diagram by the data points that meet the filter conditions defined. Filter conditions of several data filter objects are combined using either the AND or OR conjunction operator, specified by the Series.DataFiltersConjunctionMode property of the series.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DataFilter class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also