-
Notifications
You must be signed in to change notification settings - Fork 0
/
BarGraphInfo.cs
37 lines (35 loc) · 1.24 KB
/
BarGraphInfo.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
34
35
36
37
using Job_Application_Database.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace Job_Application_Database.Classes
{
/// <summary>
/// Inherits from GraphInfo to set up a BarSeries graph
/// </summary>
class BarGraphInfo : GraphInfo
{
/// <summary>
/// Constructor To Set Up Graph Title And Source
/// </summary>
/// <param name="gtitle">The Title Of The Graph</param>
/// <param name="source">The Source Of The Data</param>
public BarGraphInfo(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 BarGraphInfo(string gtitle, List<KeyValuePair<string, int>> source, Brush color)
: base(SeriesType.Bar, gtitle, source, false, color)
{
}
}
}