From 4046426b2e948bceb6e39af8d1e50586e90bec11 Mon Sep 17 00:00:00 2001
From: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com>
Date: Tue, 27 Apr 2021 19:44:22 +1000
Subject: set chart props in own function
---
grapher/Properties/Settings.Designer.cs | 48 +++++++++++++++++++++++++++++++++
grapher/Properties/Settings.settings | 12 +++++++++
2 files changed, 60 insertions(+)
(limited to 'grapher/Properties')
diff --git a/grapher/Properties/Settings.Designer.cs b/grapher/Properties/Settings.Designer.cs
index 285e18e..51f559a 100644
--- a/grapher/Properties/Settings.Designer.cs
+++ b/grapher/Properties/Settings.Designer.cs
@@ -34,5 +34,53 @@ namespace grapher.Properties {
this["Chart_BG_Colour"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("15")]
+ public float Chart_Font_Size {
+ get {
+ return ((float)(this["Chart_Font_Size"]));
+ }
+ set {
+ this["Chart_Font_Size"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("12")]
+ public float Chart_Axis_Font_Size {
+ get {
+ return ((float)(this["Chart_Axis_Font_Size"]));
+ }
+ set {
+ this["Chart_Axis_Font_Size"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("3")]
+ public int Chart_Series_Line_Width {
+ get {
+ return ((int)(this["Chart_Series_Line_Width"]));
+ }
+ set {
+ this["Chart_Series_Line_Width"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("Desktop")]
+ public global::System.Drawing.Color Chart_FG_Colour {
+ get {
+ return ((global::System.Drawing.Color)(this["Chart_FG_Colour"]));
+ }
+ set {
+ this["Chart_FG_Colour"] = value;
+ }
+ }
}
}
diff --git a/grapher/Properties/Settings.settings b/grapher/Properties/Settings.settings
index 7c46209..74b2acf 100644
--- a/grapher/Properties/Settings.settings
+++ b/grapher/Properties/Settings.settings
@@ -5,5 +5,17 @@
Window
+
+ 15
+
+
+ 12
+
+
+ 3
+
+
+ Desktop
+
\ No newline at end of file
--
cgit v1.2.3