diff options
| author | a1xd <[email protected]> | 2021-09-23 18:30:17 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-09-23 18:30:17 -0400 |
| commit | a39c5ed83d1a6349d95f5fb3ee6a3c55f14f4e30 (patch) | |
| tree | ba17d3c3cee9fd5fa09037030c9e7a5aa6c5fe31 | |
| parent | Merge pull request #105 from a1xd/1.5.x (diff) | |
| download | rawaccel-a39c5ed83d1a6349d95f5fb3ee6a3c55f14f4e30.tar.xz rawaccel-a39c5ed83d1a6349d95f5fb3ee6a3c55f14f4e30.zip | |
make last move dot larger
| -rw-r--r-- | grapher/Constants/Constants.cs | 3 | ||||
| -rw-r--r-- | grapher/Models/Charts/ChartXY.cs | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index 703c488..383d7f4 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -146,6 +146,9 @@ namespace grapher /// <summary> Line Width For Series data on chart </summary> public const int ChartSeriesLineWidth = 3; + /// <summary> Marker size for last-mouse-move chart series. </summary> + public const int DotMarkerSize = 7; + /// <summary> Foreground Color When Streamer Mode Active </summary> public static readonly System.Drawing.Color fgStreamer = System.Drawing.Color.White; 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; |