-
Notifications
You must be signed in to change notification settings - Fork 0
/
PieGraphInfo.cs
35 lines (33 loc) · 1.07 KB
/
PieGraphInfo.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
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 PieSeries graph
/// </summary>
class PieGraphInfo : GraphInfo
{
/// <summary>
/// Constructor To Set Up Graph Title, Legend Title, And Source
/// </summary>
/// <param name="source">The Source Of The Data</param>
public PieGraphInfo(List<KeyValuePair<string, int>> source)
: this(source, null)
{
}
/// <summary>
/// Constructor To Set Up Graph Title, Legend Title, Source And Color
/// </summary>
/// <param name="source">The Source Of The Data</param>
/// <param name="color">The Color Of The Graph</param>
public PieGraphInfo(List<KeyValuePair<string, int>> source, Brush color)
: base(SeriesType.Pie, null, source, false, color)
{
}
}
}