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 /grapher/Models | |
| parent | Merge pull request #105 from a1xd/1.5.x (diff) | |
| download | rawaccel-a39c5ed83d1a6349d95f5fb3ee6a3c55f14f4e30.tar.xz rawaccel-a39c5ed83d1a6349d95f5fb3ee6a3c55f14f4e30.zip | |
make last move dot larger
Diffstat (limited to 'grapher/Models')
| -rw-r--r-- | grapher/Models/Charts/ChartXY.cs | 7 |
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; |