An example of an IPointList implementation that stores large datasets, and
selectively filters the output data depending on the displayed range.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class FilteredPointList : IPointList, ICloneable
<SerializableAttribute> _ Public Class FilteredPointList _ Implements IPointList, ICloneable
[SerializableAttribute] public ref class FilteredPointList : IPointList, ICloneable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| FilteredPointListFilteredPointListNew(array<Double>[](), array<Double>[]()) |
Constructor to initialize the PointPairList from two arrays of
type double.
| |
| FilteredPointListFilteredPointListNew(FilteredPointList) |
The Copy Constructor
| |
| Clone()() |
Deep-copy clone routine
| |
| Count |
Returns the number of points according to the current state of the filter.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()() | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsApplyHighLowLogic |
Gets or sets a value that determines if the High-Low filtering logic will be
applied.
| |
| Item[([Int32])] |
Indexer to access the specified PointPair object by
its ordinal position in the list.
| |
| MaxPts |
Gets the desired number of filtered points to output. You can set this value by
calling SetBounds(Double, Double, Int32).
| |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetBounds(Double, Double, Int32) |
Set the data bounds to the specified minimum, maximum, and point count. Use values of
min=double.MinValue and max=double.MaxValue to get the full range of data. Use maxPts=-1
to not limit the number of points. Call this method anytime the zoom range is changed.
| |
| ToString()() | (Inherited from Object.) |
This class will refilter the data points each time SetBounds(Double, Double, Int32) is called. The
data are filtered down to MaxPts points, within the data bounds of
a minimum and maximum data range. The data are filtered by simply skipping
points to achieve the desired total number of points. Input arrays are assumed to be
monotonically increasing in X, and evenly spaced in X.
| Object | |
| FilteredPointList | |
