diff --git a/EuriborSharp/CustonEventArgs/CustomEventArg.cs b/EuriborSharp/CustonEventArgs/CustomEventArg.cs
index 1d28d42..fc4cae6 100644
--- a/EuriborSharp/CustonEventArgs/CustomEventArg.cs
+++ b/EuriborSharp/CustonEventArgs/CustomEventArg.cs
@@ -1,4 +1,5 @@
using System;
+using EuriborSharp.Enums;
namespace EuriborSharp.CustonEventArgs
{
@@ -21,4 +22,24 @@ public BooleanEventArg(bool b)
value = b;
}
}
+
+ public class GraphStyleEventArgs : EventArgs
+ {
+ public readonly GraphStyle style;
+
+ public GraphStyleEventArgs(GraphStyle g)
+ {
+ style = g;
+ }
+ }
+
+ public class RendererEventArgs : EventArgs
+ {
+ public readonly Renderer value;
+
+ public RendererEventArgs(Renderer r)
+ {
+ value = r;
+ }
+ }
}
diff --git a/EuriborSharp/Enums/Enums.cs b/EuriborSharp/Enums/Enums.cs
index 5fa2517..618196e 100644
--- a/EuriborSharp/Enums/Enums.cs
+++ b/EuriborSharp/Enums/Enums.cs
@@ -1,5 +1,10 @@
-namespace EuriborSharp.Enums
+using System;
+
+namespace EuriborSharp.Enums
{
+ ///
+ /// Available time periods.
+ ///
public enum TimePeriods
{
Default = 0,
@@ -10,4 +15,24 @@ public enum TimePeriods
SixMonths,
TwelveMonths
}
+
+ ///
+ /// Available serie styles.
+ ///
+ [Serializable]
+ public enum GraphStyle
+ {
+ Line,
+ Bar
+ }
+
+ ///
+ /// Available renderer for the graph.
+ ///
+ [Serializable]
+ public enum Renderer
+ {
+ Normal,
+ Xkcd
+ }
}
\ No newline at end of file
diff --git a/EuriborSharp/EuriborSharp.csproj b/EuriborSharp/EuriborSharp.csproj
index 3057627..75e36f7 100644
--- a/EuriborSharp/EuriborSharp.csproj
+++ b/EuriborSharp/EuriborSharp.csproj
@@ -37,11 +37,14 @@
euro-1.ico
+
+ ..\packages\morelinq.1.1.0\lib\net35\MoreLinq.dll
+
- ..\packages\OxyPlot.WindowsForms.2014.1.318.1\lib\NET40\OxyPlot.dll
+ ..\packages\OxyPlot.Core.2014.1.444\lib\portable-net4+sl4+wp71+win8\OxyPlot.dll
- ..\packages\OxyPlot.WindowsForms.2014.1.318.1\lib\NET40\OxyPlot.WindowsForms.dll
+ ..\packages\OxyPlot.WindowsForms.2014.1.444\lib\net40\OxyPlot.WindowsForms.dll
@@ -138,6 +141,9 @@
+
+
+