如何为数据库设置x和y值 [英] how to set x and y values for database

查看:89
本文介绍了如何为数据库设置x和y值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将asp.net与c#一起使用.
我想创建一个从数据库中获取两个值的图表控件. x轴从数据库中花费时间,y轴从数据库中获取货币.在x轴上要设置一个计时器,该计时器必须占用数据库中的时间.请告诉我这怎么可能.

i am using asp.net with c#.
i want to create a chart control that takes two values from database. the x axis takes time from data base and the y-axis takes currency from database. on x axis a timer is to set, this timer must take time from data base. please tell me how is it possible. give code if possible.

推荐答案

这里是使用MS Chart控件的简单示例.

数据绑定Microsoft图表控件 [ ^ ]
Here a clean example using MS Chart control.

Data Binding Microsoft Chart Control[^]


这篇关于如何为数据库设置x和y值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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