C# 将图形写入坐标系
我的 SQL 数据库中有数百万条数据,每一行都是一个具有开始时间和持续时间的项目。现在我想可视化这些数据以了解哪些数据一次重叠。
我的想法是创建一个坐标系,其中 x 轴显示时间,y 轴计算项目。每个图表都是一条与 x 轴平行的线,起始时间为“开始时间”+“持续时间”。下一张图是 y+1 以及 Starttime + Duration。然后我可以看到哪些项目在哪个时间重叠。
我怎样才能用 C# 编程来解决这个问题?
There are millions of data in my SQL DB and every Row is a Item with a Starttime and a duration. Now I want to visualize this Data to know which Data overlap at a time.
My idea is to create a coordinate-system with x-axis show the time and y-axis count the Item. Every graph is a line parallel to the x-axis start at Starttime + duration. The next graph is y+1 and also Starttime + Duration. Then I can see which Items overlap at which time.
How can I program that with C# any suggestion to solve this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您应该看看那里的各种图表控件:
所有这些都支持某种可以可视化此类数据的条形图。但请注意,如果您尝试一次在图表上放置数百万个数据点,则显示可能会花费大量时间。
如果高性能和海量数据是您的限制,您也许应该看看以下之一:
I think you should take a look in the various chart controls out there:
All of these support some kind of bar chart which could visualize this kind of data. But be aware that displaying can take a lot of time if you try to put millions of data points at a chart at once.
If high performance and mass of data is your constraint you should maybe take a look at one of these: