c# - 极坐标图 x 轴 0 位置

标签 c# .net winforms visual-studio-2010 mschart

我在我的 WinForms 应用程序中有一个由 MSChart 控件创建的极坐标图。 X 轴类型为日期,y 为整数。 X 正好代表一天。

我的问题是我无法将日期 00:00 设置到我需要的地方,它总是出现在不同的地方。

这是我创建的图表: enter image description here

00 以红色突出显示。我想将其移动到现在可以找到 14:00 的位置(以蓝色突出显示)。

我该怎么做?

最佳答案

终于自己搞定了:

chartMain.ChartAreas["Default"].AxisX.Crossing = 270;

关于c# - 极坐标图 x 轴 0 位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7043281/

相关文章:

c# - build 更好的工厂

c# - 我什么时候应该使用 GC.SuppressFinalize()?

c# - foreach 循环中的 DeleteObject()

asp.net - 配置节 'uri' 无法读取,因为它缺少节声明

c# - DDD : Referencing MediatR interface from the domain project

c# - 为什么 System.Int32 是结构而 System.String 是类

c# - Windows 窗体 - 自定义用户控件

c# - 设置表格最小尺寸

c# - Windows 窗体中的控件不显示工具提示气球

c# - 使用后台 worker 高效写入 GUI 线程