aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphX-master/RealTimeGraphX/EventArguments/RangeChangedEventArgs.cs
blob: 15d5bb7ba57e9a668436d3b796e1b7096bc2dacf (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RealTimeGraphX.EventArguments
{
    /// <summary>
    /// Represents a graph range change event arguments.
    /// </summary>
    /// <seealso cref="System.EventArgs" />
    public class RangeChangedEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the minimum x value.
        /// </summary>
        public GraphDataPoint MinimumX { get; set; }

        /// <summary>
        /// Gets or sets the maximum x value.
        /// </summary>
        public GraphDataPoint MaximumX { get; set; }

        /// <summary>
        /// Gets or sets the minimum y value.
        /// </summary>
        public GraphDataPoint MinimumY { get; set; }

        /// <summary>
        /// Gets or sets the maximum y value.
        /// </summary>
        public GraphDataPoint MaximumY { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="RangeChangedEventArgs"/> class.
        /// </summary>
        public RangeChangedEventArgs()
        {

        }

        /// <summary>
        /// Initializes a new instance of the <see cref="RangeChangedEventArgs"/> class.
        /// </summary>
        /// <param name="minimumX">The minimum x value.</param>
        /// <param name="maximumX">The maximum x value.</param>
        /// <param name="minimumY">The minimum y value.</param>
        /// <param name="maximumY">The maximum y value.</param>
        public RangeChangedEventArgs(GraphDataPoint minimumX, GraphDataPoint maximumX,GraphDataPoint minimumY,GraphDataPoint maximumY) : this()
        {
            MinimumX = minimumX;
            MaximumX = maximumX;
            MinimumY = minimumY;
            MaximumY = maximumY;
        }
    }
}