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.
我有一个图表控件。它在 x 轴上有 8 个点(点),我需要 30 个。
我浏览了所有属性,但找不到在哪里设置。有小费吗?
尝试设置图表的 AxisX 属性:
chart1.ChartAreas[0].AxisX.Interval = 1; chart1.ChartAreas[0].AxisX.Minimum = 1; chart1.ChartAreas[0].AxisX.Maximum = 30;