WinForm Chart 折线图前后有空格问题解决

参考

环境

软件/系统 版本 说明
Windows windows 10 专业版 22H2 64 位操作系统, 基于 x64 的处理器
Microsoft Visual Studio Community 2022 (64 位) - Current 版本 17.14.8
.NET Framework 4.8

正文

步骤

  1. 选中已添加的图表控件,点击ChartAreas
    image
  2. 点击X axis
    image
  3. 找到IsMarginVisible设置为False即可
    image

预览

image

posted @ 2025-07-13 22:01  夏秋初  阅读(14)  评论(0)    收藏  举报