DataManipulator.Filter Method (DateRangeType, String, String)

.NET Framework (current version)
 

Filters the data points of one or more series, either by removing the specified points or by marking them as empty for the given date/time ranges. The filtered Series objects are 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,
	string inputSeriesNames
)

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

inputSeriesNames
Type: System.String

A comma-separated list of names of the Series to be filtered.

.NET Framework
Available since 4.0
Return to top
Show: