回复 2楼Alice的帖子
X轴的宽度怎么设置成一样宽啊,我设置的代码如下,
ax = area.AxisX;
ax.AutoMax = false;
ax.TickLabels = C1.Win.C1Chart.TickLabelsEnum.None;
ax.Compass = CompassEnum.North;
ax.TickMinor = TickMarksEnum.None;
ax.Reversed = false; // top to bottom
ax.Origin = 0;
ax.UnitMajor = 1;
ax.GridMinor.Pattern = LinePatternEnum.Solid;
ax.GridMinor.Color = Color.Black;
ax.GridMinor.Visible = true;
ax.GridMinor.AutoSpace = true; |