File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,9 @@ public static class Constants
146
146
/// <summary> Line Width For Series data on chart </summary>
147
147
public const int ChartSeriesLineWidth = 3 ;
148
148
149
+ /// <summary> Marker size for last-mouse-move chart series. </summary>
150
+ public const int DotMarkerSize = 7 ;
151
+
149
152
/// <summary> Foreground Color When Streamer Mode Active </summary>
150
153
public static readonly System . Drawing . Color fgStreamer = System . Drawing . Color . White ;
151
154
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ public static void SetupChart(Chart chart)
155
155
156
156
chart . Series [ 1 ] . Points . Clear ( ) ;
157
157
chart . Series [ 1 ] . Points . AddXY ( 0 , 0 ) ;
158
-
158
+
159
159
area . AxisX . TitleFont = new System . Drawing . Font ( area . AxisX . TitleFont . Name , Constants . ChartAxisFontSize , System . Drawing . FontStyle . Bold ) ;
160
160
area . AxisY . TitleFont = area . AxisX . TitleFont ;
161
161
@@ -166,6 +166,11 @@ public static void SetupChart(Chart chart)
166
166
chart . Series [ 2 ] . BorderWidth = Constants . ChartSeriesLineWidth ;
167
167
chart . Series [ 2 ] . MarkerSize = Constants . ChartSeriesLineWidth * 2 ;
168
168
169
+ for ( int i = 1 ; i < chart . Series . Count ; i += 2 )
170
+ {
171
+ chart . Series [ i ] . MarkerSize = Constants . DotMarkerSize ;
172
+ }
173
+
169
174
area . AxisX . MinorGrid . Enabled = true ;
170
175
area . AxisX . MinorGrid . LineDashStyle = ChartDashStyle . Dot ;
171
176
You can’t perform that action at this time.
0 commit comments