From 1462da675f1bc36d2a770413f13ccc68165cf1e9 Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Mon, 7 Sep 2020 20:30:15 -0700 Subject: Add chart resize --- grapher/Constants/Constants.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'grapher/Constants/Constants.cs') 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 /// Default horizontal separation between an option's label and box, in pixels. public const int OptionVerticalSeperation = 4; - /// Horizonatl separation between left side of single dropdown and left side of labels beneath dropdown + /// Horizontal separation between left side of single dropdown and left side of labels beneath dropdown public const int DropDownLeftSeparation = 10; + /// Width of charts when widened + public const int WideChartWidth = 810; + + /// Width of charts when widened + public const int WideChartLeft = 270; + + /// Width of charts when narrowed + public const int NarrowChartWidth = 698; + + public const int NarrowChartLeft = 482; + /// Format string for shortened x and y textboxes. public const string ShortenedFormatString = "0.###"; -- cgit v1.2.3