summaryrefslogtreecommitdiff
path: root/grapher/Constants
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-07 20:30:15 -0700
committerJacob Palecki <[email protected]>2020-09-07 20:30:15 -0700
commit1462da675f1bc36d2a770413f13ccc68165cf1e9 (patch)
treeb2636b1455668b42121ffb1133034ed2b30ce672 /grapher/Constants
parentFix some separation bugs (diff)
downloadrawaccel-1462da675f1bc36d2a770413f13ccc68165cf1e9.tar.xz
rawaccel-1462da675f1bc36d2a770413f13ccc68165cf1e9.zip
Add chart resize
Diffstat (limited to 'grapher/Constants')
-rw-r--r--grapher/Constants/Constants.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs
index c7ca617..9367fd1 100644
--- a/grapher/Constants/Constants.cs
+++ b/grapher/Constants/Constants.cs
@@ -50,9 +50,20 @@ namespace grapher
/// <summary> Default horizontal separation between an option's label and box, in pixels. </summary>
public const int OptionVerticalSeperation = 4;
- /// <summary> Horizonatl separation between left side of single dropdown and left side of labels beneath dropdown </summary>
+ /// <summary> Horizontal separation between left side of single dropdown and left side of labels beneath dropdown </summary>
public const int DropDownLeftSeparation = 10;
+ /// <summary> Width of charts when widened </summary>
+ public const int WideChartWidth = 810;
+
+ /// <summary> Width of charts when widened </summary>
+ public const int WideChartLeft = 270;
+
+ /// <summary> Width of charts when narrowed </summary>
+ public const int NarrowChartWidth = 698;
+
+ public const int NarrowChartLeft = 482;
+
/// <summary> Format string for shortened x and y textboxes. </summary>
public const string ShortenedFormatString = "0.###";