-
Notifications
You must be signed in to change notification settings - Fork 0
/
LineGraphInfo.cs
33 lines (31 loc) · 1.17 KB
/
LineGraphInfo.cs
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
using Job_Application_Database.Enum;
using System.Collections.Generic;
using System.Windows.Media;
namespace Job_Application_Database.Classes
{
/// <summary>
/// Inherits from GraphInfo to set up a LineSeries graph
/// </summary>
class LineGraphInfo : GraphInfo
{
/// <summary>
/// Constructor To Set Up Graph Title, Legend Title, And Source
/// </summary>
/// <param name="gtitle">The Title Of The Graph</param>
/// <param name="source">The Source Of The Data</param>
public LineGraphInfo(string gtitle, List<KeyValuePair<string, int>> source)
: this(gtitle, source, Brushes.LightSteelBlue)
{
}
/// <summary>
/// Constructor To Set Up Graph Title, Legend Title, Source And Color
/// </summary>
/// <param name="gtitle">The Title Of The Graph</param>
/// <param name="source">The Source Of The Data</param>
/// <param name="color">The Color Of The Graph</param>
public LineGraphInfo(string gtitle, List<KeyValuePair<string, int>> source, Brush color)
: base(SeriesType.Line, gtitle, source, true, color)
{
}
}
}