blob: e9cc1d9b45d755e2819afcb572df6e5f7346584f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RealTimeGraphX
{
/// <summary>
/// Represents a graph data point.
/// </summary>
public struct GraphPoint
{
/// <summary>
/// Gets or sets the x value.
/// </summary>
public double X { get; set; }
/// <summary>
/// Gets or sets the y value.
/// </summary>
public double Y { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="GraphPoint"/> struct.
/// </summary>
/// <param name="x">The x.</param>
/// <param name="y">The y.</param>
public GraphPoint(double x, double y)
{
X = x;
Y = y;
}
}
}
|