Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CompareMethod Enumeration

Specifies the type of comparison to be used when filtering data. This enumeration is used by the Filter method definitions in the DataManipulator class that take the CompareMethod argument.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)
public enum CompareMethod
Member nameDescription
EqualToIf the data point value is equal to the compared value, the point is filtered.
LessThanIf the data point value is less than the compared value, the point is filtered.
LessThanOrEqualToIf the data point value is less than or equal to the compared value, the point is filtered.
MoreThanIf the data point value is more than the compared value, the point is filtered.
MoreThanOrEqualToIf the data point value more than or equal to the compared value, the point is filtered.
NotEqualToIf the data point value is not equal to the compared value, the point is filtered.

The CompareMethod enumeration represents a comparison type for certain filtering operations.

NoteNote

By default, if the filtering criteria are met, a data point is either removed or marked as empty. However, data points can be filtered even if they do not match the filtering criteria, by setting the FilterMatchedPoints property to false.

.NET Framework

Supported in: 4.5.1, 4.5, 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.