Search Results for

    Show / Hide Table of Contents

    Class StockPointList

    A collection class containing a list of StockPt objects that define the set of points to be displayed on the curve.

    Inheritance
    Object
    List<StockPt>
    StockPointList
    Implements
    IList<StockPt>
    ICollection<StockPt>
    IEnumerable<StockPt>
    IList
    ICollection
    IEnumerable
    IPointListEdit
    IPointList
    ICloneable
    Inherited Members
    System.Collections.Generic.List<ZedGraph.StockPt>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.Generic.List<ZedGraph.StockPt>.System.Collections.IList.set_Item(System.Int32, System.Object)
    List<StockPt>.AddRange(IEnumerable<StockPt>)
    List<StockPt>.AsReadOnly()
    List<StockPt>.BinarySearch(Int32, Int32, StockPt, IComparer<StockPt>)
    List<StockPt>.BinarySearch(StockPt)
    List<StockPt>.BinarySearch(StockPt, IComparer<StockPt>)
    List<StockPt>.Clear()
    List<StockPt>.Contains(StockPt)
    List<StockPt>.ConvertAll<TOutput>(Converter<StockPt, TOutput>)
    List<StockPt>.CopyTo(Int32, StockPt[], Int32, Int32)
    List<StockPt>.CopyTo(StockPt[])
    List<StockPt>.CopyTo(StockPt[], Int32)
    List<StockPt>.Exists(Predicate<StockPt>)
    List<StockPt>.Find(Predicate<StockPt>)
    List<StockPt>.FindAll(Predicate<StockPt>)
    List<StockPt>.FindIndex(Int32, Int32, Predicate<StockPt>)
    List<StockPt>.FindIndex(Int32, Predicate<StockPt>)
    List<StockPt>.FindIndex(Predicate<StockPt>)
    List<StockPt>.FindLast(Predicate<StockPt>)
    List<StockPt>.FindLastIndex(Int32, Int32, Predicate<StockPt>)
    List<StockPt>.FindLastIndex(Int32, Predicate<StockPt>)
    List<StockPt>.FindLastIndex(Predicate<StockPt>)
    List<StockPt>.ForEach(Action<StockPt>)
    List<StockPt>.GetEnumerator()
    List<StockPt>.GetRange(Int32, Int32)
    List<StockPt>.IndexOf(StockPt)
    List<StockPt>.IndexOf(StockPt, Int32)
    List<StockPt>.IndexOf(StockPt, Int32, Int32)
    List<StockPt>.Insert(Int32, StockPt)
    List<StockPt>.InsertRange(Int32, IEnumerable<StockPt>)
    List<StockPt>.LastIndexOf(StockPt)
    List<StockPt>.LastIndexOf(StockPt, Int32)
    List<StockPt>.LastIndexOf(StockPt, Int32, Int32)
    List<StockPt>.Remove(StockPt)
    List<StockPt>.RemoveAll(Predicate<StockPt>)
    List<StockPt>.RemoveAt(Int32)
    List<StockPt>.RemoveRange(Int32, Int32)
    List<StockPt>.Reverse()
    List<StockPt>.Reverse(Int32, Int32)
    List<StockPt>.Sort()
    List<StockPt>.Sort(IComparer<StockPt>)
    List<StockPt>.Sort(Comparison<StockPt>)
    List<StockPt>.Sort(Int32, Int32, IComparer<StockPt>)
    List<StockPt>.IEnumerable<StockPt>.GetEnumerator()
    List<StockPt>.ICollection.CopyTo(Array, Int32)
    List<StockPt>.IEnumerable.GetEnumerator()
    List<StockPt>.IList.Add(Object)
    List<StockPt>.IList.Contains(Object)
    List<StockPt>.IList.IndexOf(Object)
    List<StockPt>.IList.Insert(Int32, Object)
    List<StockPt>.IList.Remove(Object)
    List<StockPt>.ToArray()
    List<StockPt>.TrimExcess()
    List<StockPt>.TrueForAll(Predicate<StockPt>)
    List<StockPt>.Capacity
    List<StockPt>.Count
    List<StockPt>.ICollection<StockPt>.IsReadOnly
    List<StockPt>.ICollection.IsSynchronized
    List<StockPt>.ICollection.SyncRoot
    List<StockPt>.IList.IsFixedSize
    List<StockPt>.IList.IsReadOnly
    List<StockPt>.IList.Item[Int32]
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: ZedGraph
    Assembly: ZedGraph.dll
    Syntax
    [Serializable]
    public class StockPointList : List<StockPt>, IList<StockPt>, ICollection<StockPt>, IEnumerable<StockPt>, IList, ICollection, IEnumerable, IPointListEdit, IPointList, ICloneable

    Constructors

    | Improve this Doc View Source

    StockPointList()

    Default constructor for the collection class

    Declaration
    public StockPointList()
    | Improve this Doc View Source

    StockPointList(StockPointList)

    The Copy Constructor

    Declaration
    public StockPointList(StockPointList rhs)
    Parameters
    Type Name Description
    StockPointList rhs

    The StockPointList from which to copy

    Properties

    | Improve this Doc View Source

    Item[Int32]

    Indexer to access the specified StockPt object by its ordinal position in the list.

    Declaration
    public PointPair this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index

    The ordinal position (zero-based) of the StockPt object to be accessed.

    Property Value
    Type Description
    PointPair

    A StockPt object reference.

    Methods

    | Improve this Doc View Source

    Add(Double, Double)

    Add a StockPt object to the collection at the end of the list using the specified values. The unspecified values (low, open, close) are all set to Missing.

    Declaration
    public void Add(double date, double high)
    Parameters
    Type Name Description
    Double date

    An XDate value

    Double high

    The high value for the day

    | Improve this Doc View Source

    Add(Double, Double, Double, Double, Double, Double)

    Add a single point to the PointPairList from values of type double.

    Declaration
    public void Add(double date, double high, double low, double open, double close, double vol)
    Parameters
    Type Name Description
    Double date

    An XDate value

    Double high

    The high value for the day

    Double low

    The low value for the day

    Double open

    The opening value for the day

    Double close

    The closing value for the day

    Double vol

    The trading volume for the day

    | Improve this Doc View Source

    Add(PointPair)

    Add a PointPair object to the collection at the end of the list.

    Declaration
    public void Add(PointPair point)
    Parameters
    Type Name Description
    PointPair point

    The PointPair object to be added

    | Improve this Doc View Source

    Add(StockPt)

    Add a StockPt object to the collection at the end of the list.

    Declaration
    public void Add(StockPt point)
    Parameters
    Type Name Description
    StockPt point

    The StockPt object to be added

    | Improve this Doc View Source

    Clone()

    Typesafe, deep-copy clone method.

    Declaration
    public StockPointList Clone()
    Returns
    Type Description
    StockPointList

    A new, independent copy of this class

    | Improve this Doc View Source

    GetAt(Int32)

    Access the StockPt at the specified ordinal index.

    Declaration
    public StockPt GetAt(int index)
    Parameters
    Type Name Description
    Int32 index

    The ordinal position (zero-based) in the list

    Returns
    Type Description
    StockPt

    The specified StockPt.

    Remarks

    To be compatible with the IPointList interface, the StockPointList must implement an index that returns a PointPair rather than a StockPt. This method will return the actual StockPt at the specified position.

    Explicit Interface Implementations

    | Improve this Doc View Source

    ICloneable.Clone()

    Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()

    Declaration
    object ICloneable.Clone()
    Returns
    Type Description
    Object

    A deep copy of this object

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    IPointListEdit
    IPointList
    System.ICloneable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX