Changing a ChartType von Polar zu Radar

Ich fragte in einem vorherige Frage wie man eine bestimmte Anzahl von Ringen und Sektoren für ein Polardiagramm einstellt. Ich habe jetzt eine Schaltfläche, mit der die Karte von Polar auf Radar umgestellt wird. Das Problem ist, dass sich die Anzahl der Segmente von 24 (richtig) auf 25 (falsch) ändert. Ich habe keine Idee warum

Der Code zum Einstellen der Anzahl der Klingeltöne:

#region chartdesign
Series s = chartleft.Series[0];            // a reference to the default series
ChartArea ca = chartleft.ChartAreas[0];  // a reference to the default chart area
Axis ax = ca.AxisX;
Axis ay = ca.AxisY;
s.ChartType = SeriesChartType.Polar;   // set the charttype of the series

s.Points.AddXY(0,0);
ax.Interval = 15;
ay.Interval = 1;

ax.IntervalOffset = 0;
ax.Minimum = 0;
ax.Maximum = 360;

ay.IntervalOffset = 0;
ay.Minimum = 0;
ay.Maximum = 10;
//----------------------------------------------------------------------
Series s2 = chartright.Series[0];            // a reference to the default series
ChartArea ca2 = chartright.ChartAreas[0];  // a reference to the default chart area
Axis ax2 = ca2.AxisX;
Axis ay2 = ca2.AxisY;
s2.ChartType = SeriesChartType.Polar;   // set the charttype of the series

// a few data to test:

s2.Points.AddXY(0, 0);

ax2.Interval = 15;
ay2.Interval = 1;

ax2.IntervalOffset = 0;
ax2.Minimum = 0;
ax2.Maximum = 360;

ay2.IntervalOffset = 0;
ay2.Minimum = 0;
ay2.Maximum = 10;
#endregion

Antworten auf die Frage(2)

Ihre Antwort auf die Frage