Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataFilter Class

Defines specific filter conditions of a particular series.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#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.

See Also