diff options
| author | Matthew Strasiotto <[email protected]> | 2021-04-27 19:44:22 +1000 |
|---|---|---|
| committer | Matthew Strasiotto <[email protected]> | 2021-04-27 19:44:22 +1000 |
| commit | 4046426b2e948bceb6e39af8d1e50586e90bec11 (patch) | |
| tree | 91b211865d900dda6995d58a84b67a64055e2723 /grapher/Properties | |
| parent | chartarea is transparent for all charts now (diff) | |
| download | rawaccel-4046426b2e948bceb6e39af8d1e50586e90bec11.tar.xz rawaccel-4046426b2e948bceb6e39af8d1e50586e90bec11.zip | |
set chart props in own function
Diffstat (limited to 'grapher/Properties')
| -rw-r--r-- | grapher/Properties/Settings.Designer.cs | 48 | ||||
| -rw-r--r-- | grapher/Properties/Settings.settings | 12 |
2 files changed, 60 insertions, 0 deletions
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 @@ <Setting Name="Chart_BG_Colour" Type="System.Drawing.Color" Scope="User"> <Value Profile="(Default)">Window</Value> </Setting> + <Setting Name="Chart_Font_Size" Type="System.Single" Scope="User"> + <Value Profile="(Default)">15</Value> + </Setting> + <Setting Name="Chart_Axis_Font_Size" Type="System.Single" Scope="User"> + <Value Profile="(Default)">12</Value> + </Setting> + <Setting Name="Chart_Series_Line_Width" Type="System.Int32" Scope="User"> + <Value Profile="(Default)">3</Value> + </Setting> + <Setting Name="Chart_FG_Colour" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Desktop</Value> + </Setting> </Settings> </SettingsFile>
\ No newline at end of file |