DataManipulator.Filter Method (DateRangeType, String, Series)

.NET Framework (current version)
 
System_CAPS_noteNote

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

Filters the data points in a series, either by removing the specified points or by marking them as empty for the specified date/time ranges. The Series object that is filtered is used to store the modified data.

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

public void Filter(
	DateRangeType dateRange,
	string rangeElements,
	Series inputSeries
)

Parameters

dateRange
Type: System.Web.UI.DataVisualization.Charting.DateRangeType

A DateRangeType enumeration value that represents a date/time interval, such as days of the week, days of the month, and so forth. Determines the range over which the given elements will be filtered.

rangeElements
Type: System.String

Specifies the elements within the date/time range designated by the dateRange parameter that will be filtered. Can be a single value, for example, "7"; comma-separated values, for example, "5,6"; a range of values, such as "9-11"; or any variation thereof, such as "5,6,9-11".

inputSeries
Type: System.Web.UI.DataVisualization.Charting.Series

The Series object to be filtered.

.NET Framework
Available since 4.0
Return to top
Show: