更新tick事件的图表 [英] Update chart on tick event

查看:81
本文介绍了更新tick事件的图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net页面上有一个图表,我在后面的代码中将它与数据库绑定。



每5分钟图表必须更新。所以我采取了定时器控制并将其interval属性保持为300000.在tick事件中,我调用了相同的函数,该函数将图表与数据绑定。当我运行代码时,它会在5分钟后清除图表。



帮助我如何更新图表。

I have a chart on asp.net page and I have bind it with database in code behind.

At every 5 minutes the chart has to update. So I have taken timer control and kept its interval property as 300000. In the tick event I have called the same function which binds the chart with data. When I run the code it clears chart after 5 mins.

Help me how can I update the chart.

推荐答案

这篇关于更新tick事件的图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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