Edit

Bagikan melalui


DataManipulator.Filter Method

Definition

Filters the data points from one or more series.

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 given date/time ranges.

Filter(DateRangeType, String, String, String)

Filters the data points for one or more series, by either 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 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 in 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::Web::UI::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries, System::Web::UI::DataVisualization::Charting::Series ^ outputSeries, System::String ^ usingValue);
public void Filter (System.Web.UI.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, System.Web.UI.DataVisualization.Charting.Series inputSeries, System.Web.UI.DataVisualization.Charting.Series outputSeries, string usingValue);
member this.Filter : System.Web.UI.DataVisualization.Charting.CompareMethod * double * System.Web.UI.DataVisualization.Charting.Series * System.Web.UI.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.

inputSeries
Series

The Series object to be filtered.

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::Web::UI::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames, System::String ^ usingValue);
public void Filter (System.Web.UI.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, string inputSeriesNames, string outputSeriesNames, string usingValue);
member this.Filter : System.Web.UI.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.

inputSeriesNames
String

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

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 given date/time ranges.

public:
 void Filter(System::Web::UI::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries, System::Web::UI::DataVisualization::Charting::Series ^ outputSeries);
public void Filter (System.Web.UI.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, System.Web.UI.DataVisualization.Charting.Series inputSeries, System.Web.UI.DataVisualization.Charting.Series outputSeries);
member this.Filter : System.Web.UI.DataVisualization.Charting.DateRangeType * string * System.Web.UI.DataVisualization.Charting.Series * System.Web.UI.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".

inputSeries
Series

The Series object to be filtered.

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 for one or more series, by either removing the specified points or by marking them as empty for the given date/time ranges.

public:
 void Filter(System::Web::UI::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames);
public void Filter (System.Web.UI.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, string inputSeriesNames, string outputSeriesNames);
member this.Filter : System.Web.UI.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".

inputSeriesNames
String

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

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::Web::UI::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries, System::Web::UI::DataVisualization::Charting::Series ^ outputSeries);
public void Filter (System.Web.UI.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, System.Web.UI.DataVisualization.Charting.Series inputSeries, System.Web.UI.DataVisualization.Charting.Series outputSeries);
member this.Filter : System.Web.UI.DataVisualization.Charting.CompareMethod * double * System.Web.UI.DataVisualization.Charting.Series * System.Web.UI.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.

inputSeries
Series

The Series object to be filtered.

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::Web::UI::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames);
public void Filter (System.Web.UI.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, string inputSeriesNames, string outputSeriesNames);
member this.Filter : System.Web.UI.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.

inputSeriesNames
String

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

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::Web::UI::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries, System::Web::UI::DataVisualization::Charting::Series ^ outputSeries);
public void Filter (System.Web.UI.DataVisualization.Charting.IDataPointFilter filterInterface, System.Web.UI.DataVisualization.Charting.Series inputSeries, System.Web.UI.DataVisualization.Charting.Series outputSeries);
member this.Filter : System.Web.UI.DataVisualization.Charting.IDataPointFilter * System.Web.UI.DataVisualization.Charting.Series * System.Web.UI.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.

inputSeries
Series

The Series object to be filtered.

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::Web::UI::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries);
public void Filter (System.Web.UI.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, System.Web.UI.DataVisualization.Charting.Series inputSeries);
member this.Filter : System.Web.UI.DataVisualization.Charting.DateRangeType * string * System.Web.UI.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".

inputSeries
Series

The Series object to be filtered.

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::Web::UI::DataVisualization::Charting::DateRangeType dateRange, System::String ^ rangeElements, System::String ^ inputSeriesNames);
public void Filter (System.Web.UI.DataVisualization.Charting.DateRangeType dateRange, string rangeElements, string inputSeriesNames);
member this.Filter : System.Web.UI.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".

inputSeriesNames
String

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

Applies to

Filter(CompareMethod, Double, Series)

Filters 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::Web::UI::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries);
public void Filter (System.Web.UI.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, System.Web.UI.DataVisualization.Charting.Series inputSeries);
member this.Filter : System.Web.UI.DataVisualization.Charting.CompareMethod * double * System.Web.UI.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.

inputSeries
Series

The Series object that is filtered.

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::Web::UI::DataVisualization::Charting::CompareMethod compareMethod, double compareValue, System::String ^ inputSeriesNames);
public void Filter (System.Web.UI.DataVisualization.Charting.CompareMethod compareMethod, double compareValue, string inputSeriesNames);
member this.Filter : System.Web.UI.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.

inputSeriesNames
String

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

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::Web::UI::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries);
public void Filter (System.Web.UI.DataVisualization.Charting.IDataPointFilter filterInterface, System.Web.UI.DataVisualization.Charting.Series inputSeries);
member this.Filter : System.Web.UI.DataVisualization.Charting.IDataPointFilter * System.Web.UI.DataVisualization.Charting.Series -> unit
Public Sub Filter (filterInterface As IDataPointFilter, inputSeries As Series)

Parameters

filterInterface
IDataPointFilter

An object that implements the IDataPointFilter interface.

inputSeries
Series

The Series object that is filtered.

Applies to

Filter(IDataPointFilter, String)

Performs custom filtering on the data points in one or more Series, based on the points in the first series. The filtered Series objects also store the modified data.

public:
 void Filter(System::Web::UI::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::String ^ inputSeriesNames);
public void Filter (System.Web.UI.DataVisualization.Charting.IDataPointFilter filterInterface, string inputSeriesNames);
member this.Filter : System.Web.UI.DataVisualization.Charting.IDataPointFilter * string -> unit
Public Sub Filter (filterInterface As IDataPointFilter, inputSeriesNames As String)

Parameters

filterInterface
IDataPointFilter

An object that implements the IDataPointFilter interface.

inputSeriesNames
String

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

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::Web::UI::DataVisualization::Charting::IDataPointFilter ^ filterInterface, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames);
public void Filter (System.Web.UI.DataVisualization.Charting.IDataPointFilter filterInterface, string inputSeriesNames, string outputSeriesNames);
member this.Filter : System.Web.UI.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.

inputSeriesNames
String

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

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