如何在微软图表控件中省略x轴上的时间段
我正在 Visual Studio 中开发一个 Windows 应用程序,使用 c#、.Net Framework 4 进行编码。
在图表上,我绘制了股票的日内价格时间序列。当我绘制一天时,效果很好。然而,当我绘制多天时,市场一天收盘和第二天开盘的时间之间存在巨大差距。系列点不包括市场交易时间之外的任何数据。即 8/10/2011 的最后一个数据点和 8/11/2011 的第一个数据点如下:
8/10/2011 3:59 PM, $59.00
8/11/2011 9:30 PM, $59.25
我会喜欢省略那个空的时间段。非常感谢任何帮助。
(抱歉,无法发布图表的图像,因为没有 10 的声誉,但希望您可以发挥您的想象力!)
I am developing a Windows Application in Visual Studio, coding in c#, .Net Framework 4.
On a chart, I plot the intraday time series of prices for a stock. When I plot a single day, it works fine. However, when I plot multiple days, there is a huge gap between the time the market closes one day and opens the next day. The series points do not include any data outside of market hours. i.e. the last data point on 8/10/2011 and the first data point on 8/11/2011 are as follows:
8/10/2011 3:59 PM, $59.00
8/11/2011 9:30 PM, $59.25
I would like to omit that empty time period. Any help greatly appreciated.
(sorry, can't post an image of the chart because don't have a 10 reputation, but hopefully you can use your imagination!)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论