Skip to main content

Class LineSeriesPointCollection

A Collection of LineSeriesPoints

Assembly: MicroLayout.dll​
View Source​
Declaration
public class LineSeriesPointCollection : IEnumerable<LineSeriesPoint>, IEnumerable

Implements:
System.Collections.Generic.IEnumerable<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint>, System.Collections.IEnumerable

Properties​

MinX​

Gets the minimum X value in the collection

View Source​
Declaration
public double MinX { get; }

MinY​

Gets the minimum Y value in the collection

View Source​
Declaration
public double MinY { get; }

MaxX​

Gets the maximum X value in the collection

View Source​
Declaration
public double MaxX { get; }

MaxY​

Gets the maximum Y value in the collection

View Source​
Declaration
public double MaxY { get; }

Count​

Gets the number of points in the collection

View Source​
Declaration
public int Count { get; }

this[int]​

View Source​
Declaration
public LineSeriesPoint this[int index] { get; }

Methods​

Add(double, double)​

Adds a point to the collection

View Source​
Declaration
public void Add(double x, double y)
Parameters​
TypeNameDescription
System.DoublexThe point's X value
System.DoubleyThe point's Y value

Add(params LineSeriesPoint[])​

Adds a series of points to the collection

View Source​
Declaration
public void Add(params LineSeriesPoint[] points)
Parameters​
TypeNameDescription
Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint[]pointsThe point to add

Add(IEnumerable<LineSeriesPoint>)​

Adds a series of points to the collection

View Source​
Declaration
public void Add(IEnumerable<LineSeriesPoint> points)
Parameters​
TypeNameDescription
System.Collections.Generic.IEnumerable<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint>pointsThe points to add

Remove(LineSeriesPoint)​

Removes a point to the collection

View Source​
Declaration
public void Remove(LineSeriesPoint point)
Parameters​
TypeNameDescription
Meadow.Foundation.Graphics.MicroLayout.LineSeriesPointpointThe point to remove

Remove(params LineSeriesPoint[])​

Removes a point to the collection

View Source​
Declaration
public void Remove(params LineSeriesPoint[] points)
Parameters​
TypeNameDescription
Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint[]pointsThe points to remove

Clear(int)​

Removes all points to the collection

View Source​
Declaration
public void Clear(int capacity = 10)
Parameters​
TypeNameDescription
System.Int32capacitySets the total number of elements the collection can contain without resizing

GetEnumerator()​

Returns an enumerator that iterates through the collection.

View Source​
Declaration
public IEnumerator<LineSeriesPoint> GetEnumerator()
Returns​

System.Collections.Generic.IEnumerator<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint>: An enumerator that can be used to iterate through the collection.

Implements​

  • System.Collections.Generic.IEnumerable<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint>
  • System.Collections.IEnumerable