Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IDataPointFilter Interface
Collapse the table of content
Expand the table of content

IDataPointFilter Interface

.NET Framework 4.6 and 4.5

Exposes the FilterDataPoint method, which allows Series data to be custom filtered.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public interface IDataPointFilter

The IDataPointFilter type exposes the following members.

Public methodFilterDataPointDetermines whether a particular data point in the series will be filtered.

The IDataPointFilter interface exposes the FilterDataPoint method, which takes a specific data point within a series and returns a Boolean value that determines whether that data point will be filtered.

To perform custom filtering:

  • Derive a new or existing class from this interface.

  • Override the FilterDataPoint method to provide the custom filtering logic.

  • To initiate the filtering operation, call one of the Filter methods in the DataManipulator class that takes an IDataPointFilter object as its first parameter.

For sample source code, see the FilterDataPoint method.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft