IDataPointFilter Interface

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

type IDataPointFilter = interface end

System_CAPS_pubmethodFilterDataPoint(DataPoint, Series, Int32)

Determines 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
Available since 4.0
Return to top