Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 System.Windows.Forms.DataVisualization.Charting.Chart 三个值并与同一日期(15.07.15)相关联。现在它看起来像图片。有没有办法隐藏“零”“30.12.1899”日期?
chart1.ChartAreas[index].AxisX.LabelStyle.Enabled = false;
.LabelStyle.Enabled = false;
它隐藏了所有轴标签。要隐藏“零”,只需将 .AxisX.Minimum 设置为 1e-12;