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.
我正在绘制一个简单的折线图,如下所示:
最近,一位客户要求更改图表上的间隔,以便每个数据点彼此相邻,并且它们之间没有日期。
例如,下图将有 6 个 x 值,它们都将均匀分布,并且具有相同的日期 3-8-12、3-24-12、4-4-12、4-13-12、4 -15-12,4-17-12。我们不在乎中间的日期。
如何在 MSChart 中执行此操作?
尝试设置 Series.IsXValueIndexed = true;
Series.IsXValueIndexed = true;
http://support2.dundas.com/Default.aspx?article=909