summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-23 22:14:32 -0400
committerGitHub <[email protected]>2021-09-23 22:14:32 -0400
commitc67f04ad3793babc5e8f95205ca981c412703b27 (patch)
tree5492df9f6a6f60f9d260c6554afbc615c3261382 /grapher/Models/Charts
parentMerge pull request #105 from a1xd/1.5.x (diff)
parentfix - motivity not set from input (diff)
downloadrawaccel-c67f04ad3793babc5e8f95205ca981c412703b27.tar.xz
rawaccel-c67f04ad3793babc5e8f95205ca981c412703b27.zip
Merge pull request #107 from a1xd/1.5.0-fix
1.5 pre-release fixes
Diffstat (limited to 'grapher/Models/Charts')
-rw-r--r--grapher/Models/Charts/ChartXY.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/grapher/Models/Charts/ChartXY.cs b/grapher/Models/Charts/ChartXY.cs
index c74929d..5143f9f 100644
--- a/grapher/Models/Charts/ChartXY.cs
+++ b/grapher/Models/Charts/ChartXY.cs
@@ -155,7 +155,7 @@ namespace grapher
chart.Series[1].Points.Clear();
chart.Series[1].Points.AddXY(0, 0);
-
+
area.AxisX.TitleFont = new System.Drawing.Font(area.AxisX.TitleFont.Name, Constants.ChartAxisFontSize, System.Drawing.FontStyle.Bold);
area.AxisY.TitleFont = area.AxisX.TitleFont;
@@ -166,6 +166,11 @@ namespace grapher
chart.Series[2].BorderWidth = Constants.ChartSeriesLineWidth;
chart.Series[2].MarkerSize = Constants.ChartSeriesLineWidth * 2;
+ for (int i = 1; i < chart.Series.Count; i += 2)
+ {
+ chart.Series[i].MarkerSize = Constants.DotMarkerSize;
+ }
+
area.AxisX.MinorGrid.Enabled = true;
area.AxisX.MinorGrid.LineDashStyle = ChartDashStyle.Dot;