在图表控件中显示数据 [英] Display data in chart control

查看:74
本文介绍了在图表控件中显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在asp.chart控件中显示数据

I would like to display data in asp.chart control

我在sql表中有每分钟的计数数据,

I have a count data for each minute in a sql table,

现在我想显示最近24小时的一个柱形图报告以显示计数 

Now I want to display one column chart report for last 24 hours to show the count 

我想在过去24小时内仅显示X轴的小时间隔,但是Y值应该是每分钟数据

I want to show X axis only hours interval for last 24 hours, but Y value should be every minute data

请让我知道我该怎么做

推荐答案

您好lftikar H,

Hi lftikar H,

感谢您发布此处。

对于您的问题,您可以下载源代码来自 

For your question, you could download the source code from 

ASP.NET图表控件演示(CSASPNETChart) 供参考。

ASP.NET Chart control demo (CSASPNETChart) for reference.

如果你有更多与ASP.NET图表相关的内容,你可以在  Web
表单数据控件
 论坛以获得合适的支持。

If you have something more related to ASP.NET chart, you could post a new thread in Web Forms Data Controls forum for suitable support.

Visual C#讨论并询问C#编程语言IDE,库,样本和工具。

The Visual C# discuss and ask the C# programming language, IDE, libraries, samples and tools.

如果您有一些语法或代码错误,请随时与我们联系。我们将尽力为您提供解决方案。

If you have some grammar or code errors, please feel free to contact us. We will try our best to give you a solution.

感谢您的理解与合作。

最好的问候,

Wendy


这篇关于在图表控件中显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆