DataManipulator.Filter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Filters one or more series, or filters the data point in a series or a collection of series, by applying a standard filtering rule or a custom filtering rule.
Overloads
Filter(CompareMethod, Double, Series, Series, String) |
Filters the data points in a series by applying a filtering rule to the specified data point values for comparison. |
Filter(CompareMethod, Double, String, String, String) |
Filters one or more series by applying a filtering rule to the specified data point values in the first series. |
Filter(DateRangeType, String, Series, Series) |
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. |
Filter(DateRangeType, String, String, String) |
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. |
Filter(CompareMethod, Double, Series, Series) |
Filters the data points in a series by applying a filtering rule to the first Y-value of each of the data points. |
Filter(CompareMethod, Double, String, String) |
Filters one or more series by applying a filtering rule to the first Y-value of each of the data points in the first series. |
Filter(IDataPointFilter, Series, Series) |
Performs custom filtering on the data points in a series. |
Filter(DateRangeType, String, Series) |
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. |
Filter(DateRangeType, String, String) |
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. |
Filter(CompareMethod, Double, Series) |
Filters the data points in a series by applying a filtering rule to the first Y-value of each data point. The Series object that is filtered also stores the modified data. |
Filter(CompareMethod, Double, String) |
Filters one or more series by applying a filtering rule to the first Y-value of the data points in the first series. The filtered Series objects are used to store the modified data. |
Filter(IDataPointFilter, Series) |
Performs custom filtering on the data points in a series. The Series object that is filtered also stores the modified data. |
Filter(IDataPointFilter, String) |
Performs custom filtering on the data points in one or more series, based on the points of the first series. The filtered Series objects also store the modified data. |
Filter(IDataPointFilter, String, String) |
Performs custom filtering on the data points in one or more series, based on the points of the first series. |
Filter(CompareMethod, Double, Series, Series, String)
Filters the data points in a series by applying a filtering rule to the specified data point values for comparison.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::Windows::Forms::DataVisualization::Charting::Series ^ inputSeries, System::Windows::Forms::DataVisualization::Charting::Series ^ outputSeries, System::String ^ usingValue);
public void Filter (System.Windows.Forms.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, System.Windows.Forms.DataVisualization.Charting.Series inputSeries, System.Windows.Forms.DataVisualization.Charting.Series outputSeries, string usingValue);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.CompareMethod * double * System.Windows.Forms.DataVisualization.Charting.Series * System.Windows.Forms.DataVisualization.Charting.Series * string -> unit
Public Sub Filter (compareMethod As CompareMethod, compareValue As Double, inputSeries As Series, outputSeries As Series, usingValue As String)
Parameters
- compareMethod
- CompareMethod
A CompareMethod enumeration value that determines the comparison method for the filtering rule. Can be LessThan, EqualTo, and so forth.
- compareValue
- Double
The value part of the filtering rule that is applied to the first Y-values of data points. For example, in the filtering rule "<6", 6 is the value.
- outputSeries
- Series
A Series object that stores the filtered data. If the series does not exist, an exception will be thrown.
- usingValue
- String
The data point value that the filtering rule is applied to. Can be X, Y, Y2, Y3, and so forth.
Applies to
Filter(CompareMethod, Double, String, String, String)
Filters one or more series by applying a filtering rule to the specified data point values in the first series.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames, System::String ^ usingValue);
public void Filter (System.Windows.Forms.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, string inputSeriesNames, string outputSeriesNames, string usingValue);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.CompareMethod * double * string * string * string -> unit
Public Sub Filter (compareMethod As CompareMethod, compareValue As Double, inputSeriesNames As String, outputSeriesNames As String, usingValue As String)
Parameters
- compareMethod
- CompareMethod
A CompareMethod enumeration value that determines the comparison method for the filtering rule. Can be LessThan, EqualTo, and so forth.
- compareValue
- Double
The value part of the filtering rule that is applied to the first Y-values of data points. For example, in the filtering rule "<6", 6 is the value.
- outputSeriesNames
- String
A comma-separated list of names of the Series that store the filtered data. The number of output series must equal the number of input series, otherwise an exception will be thrown.
- usingValue
- String
The data point value that the filtering rule is applied to. Can be X, Y, Y2, Y3, and so forth.
Applies to
Filter(DateRangeType, String, Series, Series)
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.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::Windows::Forms::DataVisualization::Charting::Series ^ inputSeries, System::Windows::Forms::DataVisualization::Charting::Series ^ outputSeries);
public void Filter (System.Windows.Forms.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, System.Windows.Forms.DataVisualization.Charting.Series inputSeries, System.Windows.Forms.DataVisualization.Charting.Series outputSeries);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.DateRangeType * string * System.Windows.Forms.DataVisualization.Charting.Series * System.Windows.Forms.DataVisualization.Charting.Series -> unit
Public Sub Filter (dateRange As DateRangeType, rangeElements As String, inputSeries As Series, outputSeries As Series)
Parameters
- dateRange
- 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
- 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".
- outputSeries
- Series
A Series object that stores the filtered data. If the series does not exist, an exception will be thrown.
Applies to
Filter(DateRangeType, String, String, String)
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.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames);
public void Filter (System.Windows.Forms.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, string inputSeriesNames, string outputSeriesNames);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.DateRangeType * string * string * string -> unit
Public Sub Filter (dateRange As DateRangeType, rangeElements As String, inputSeriesNames As String, outputSeriesNames As String)
Parameters
- dateRange
- 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
- 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".
- outputSeriesNames
- String
A comma-separated list of names of the Series that store the filtered data. Make sure that the number of output series matches the number of input series, otherwise an exception will be thrown.
Applies to
Filter(CompareMethod, Double, Series, Series)
Filters the data points in a series by applying a filtering rule to the first Y-value of each of the data points.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::Windows::Forms::DataVisualization::Charting::Series ^ inputSeries, System::Windows::Forms::DataVisualization::Charting::Series ^ outputSeries);
public void Filter (System.Windows.Forms.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, System.Windows.Forms.DataVisualization.Charting.Series inputSeries, System.Windows.Forms.DataVisualization.Charting.Series outputSeries);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.CompareMethod * double * System.Windows.Forms.DataVisualization.Charting.Series * System.Windows.Forms.DataVisualization.Charting.Series -> unit
Public Sub Filter (compareMethod As CompareMethod, compareValue As Double, inputSeries As Series, outputSeries As Series)
Parameters
- compareMethod
- CompareMethod
A CompareMethod enumeration value that determines the comparison method for the filtering rule. Can be LessThan, EqualTo, and so forth.
- compareValue
- Double
The value part of the filtering rule that is applied to the first Y-values of data points. For example, in the filtering rule "<6", 6 is the value.
- outputSeries
- Series
A Series object that stores the filtered data. If the series does not exist, an exception will be thrown.
Applies to
Filter(CompareMethod, Double, String, String)
Filters one or more series by applying a filtering rule to the first Y-value of each of the data points in the first series.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames);
public void Filter (System.Windows.Forms.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, string inputSeriesNames, string outputSeriesNames);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.CompareMethod * double * string * string -> unit
Public Sub Filter (compareMethod As CompareMethod, compareValue As Double, inputSeriesNames As String, outputSeriesNames As String)
Parameters
- compareMethod
- CompareMethod
A CompareMethod enumeration value that determines the comparison method for the filtering rule. Can be LessThan, EqualTo, and so forth.
- compareValue
- Double
The value part of the filtering rule that is applied to the first Y-values of data points. For example, in the filtering rule "<6", 6 is the value.
- outputSeriesNames
- String
A comma-separated list of names of the Series that store the filtered data. The number of output series must match the number of input series, otherwise an exception will be thrown.
Applies to
Filter(IDataPointFilter, Series, Series)
Performs custom filtering on the data points in a series.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::Windows::Forms::DataVisualization::Charting::Series ^ inputSeries, System::Windows::Forms::DataVisualization::Charting::Series ^ outputSeries);
public void Filter (System.Windows.Forms.DataVisualization.Charting.IDataPointFilter filterInterface, System.Windows.Forms.DataVisualization.Charting.Series inputSeries, System.Windows.Forms.DataVisualization.Charting.Series outputSeries);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.IDataPointFilter * System.Windows.Forms.DataVisualization.Charting.Series * System.Windows.Forms.DataVisualization.Charting.Series -> unit
Public Sub Filter (filterInterface As IDataPointFilter, inputSeries As Series, outputSeries As Series)
Parameters
- filterInterface
- IDataPointFilter
An object that implements the IDataPointFilter interface.
- outputSeries
- Series
A Series object that stores the filtered data. If the series does not exist, an exception will be thrown.
Applies to
Filter(DateRangeType, String, Series)
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.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::Windows::Forms::DataVisualization::Charting::Series ^ inputSeries);
public void Filter (System.Windows.Forms.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, System.Windows.Forms.DataVisualization.Charting.Series inputSeries);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.DateRangeType * string * System.Windows.Forms.DataVisualization.Charting.Series -> unit
Public Sub Filter (dateRange As DateRangeType, rangeElements As String, inputSeries As Series)
Parameters
- dateRange
- 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
- 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".
Applies to
Filter(DateRangeType, String, String)
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.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::String ^ inputSeriesNames);
public void Filter (System.Windows.Forms.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, string inputSeriesNames);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.DateRangeType * string * string -> unit
Public Sub Filter (dateRange As DateRangeType, rangeElements As String, inputSeriesNames As String)
Parameters
- dateRange
- 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
- 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".
Applies to
Filter(CompareMethod, Double, Series)
Filters the data points in a series by applying a filtering rule to the first Y-value of each data point. The Series object that is filtered also stores the modified data.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::Windows::Forms::DataVisualization::Charting::Series ^ inputSeries);
public void Filter (System.Windows.Forms.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, System.Windows.Forms.DataVisualization.Charting.Series inputSeries);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.CompareMethod * double * System.Windows.Forms.DataVisualization.Charting.Series -> unit
Public Sub Filter (compareMethod As CompareMethod, compareValue As Double, inputSeries As Series)
Parameters
- compareMethod
- CompareMethod
A CompareMethod enumeration value that determines the comparison method for the filtering rule. Can be LessThan, EqualTo, and so forth.
- compareValue
- Double
The value part of the filtering rule that is applied to the first Y-values of data points. For example, in the filtering rule "<6", 6 is the value.
Applies to
Filter(CompareMethod, Double, String)
Filters one or more series by applying a filtering rule to the first Y-value of the data points in the first series. The filtered Series objects are used to store the modified data.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::String ^ inputSeriesNames);
public void Filter (System.Windows.Forms.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, string inputSeriesNames);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.CompareMethod * double * string -> unit
Public Sub Filter (compareMethod As CompareMethod, compareValue As Double, inputSeriesNames As String)
Parameters
- compareMethod
- CompareMethod
A CompareMethod enumeration value that determines the comparison method for the filtering rule. Can be LessThan, EqualTo, and so forth.
- compareValue
- Double
The value part of the filtering rule that is applied to the first Y-values of data points. For example, in the filtering rule "<6", 6 is the value.
Applies to
Filter(IDataPointFilter, Series)
Performs custom filtering on the data points in a series. The Series object that is filtered also stores the modified data.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::Windows::Forms::DataVisualization::Charting::Series ^ inputSeries);
public void Filter (System.Windows.Forms.DataVisualization.Charting.IDataPointFilter filterInterface, System.Windows.Forms.DataVisualization.Charting.Series inputSeries);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.IDataPointFilter * System.Windows.Forms.DataVisualization.Charting.Series -> unit
Public Sub Filter (filterInterface As IDataPointFilter, inputSeries As Series)
Parameters
- filterInterface
- IDataPointFilter
An object that implements the IDataPointFilter interface.
Applies to
Filter(IDataPointFilter, String)
Performs custom filtering on the data points in one or more series, based on the points of the first series. The filtered Series objects also store the modified data.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::String ^ inputSeriesNames);
public void Filter (System.Windows.Forms.DataVisualization.Charting.IDataPointFilter filterInterface, string inputSeriesNames);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.IDataPointFilter * string -> unit
Public Sub Filter (filterInterface As IDataPointFilter, inputSeriesNames As String)
Parameters
- filterInterface
- IDataPointFilter
An object that implements the IDataPointFilter interface.
Applies to
Filter(IDataPointFilter, String, String)
Performs custom filtering on the data points in one or more series, based on the points of the first series.
public:
void Filter(System::Windows::Forms::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames);
public void Filter (System.Windows.Forms.DataVisualization.Charting.IDataPointFilter filterInterface, string inputSeriesNames, string outputSeriesNames);
member this.Filter : System.Windows.Forms.DataVisualization.Charting.IDataPointFilter * string * string -> unit
Public Sub Filter (filterInterface As IDataPointFilter, inputSeriesNames As String, outputSeriesNames As String)
Parameters
- filterInterface
- IDataPointFilter
An object that implements the IDataPointFilter interface.
- outputSeriesNames
- String
A comma-separated list of names of the Series that store the filtered data. Make sure that the number of output series matches the number of input series, otherwise an exception will be thrown.