如何绑定到Dundas图表 [英] How to bind to a Dundas Chart

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

问题描述

我有一个dundas图表,我想在上面绘制折线图.我从数据库中检索了数据.

例如,我有一个名为student
的表
测试标记1标记2
T-1 56 43
T-2 65 65
T-3 45 70
T-4 80 50
T-5 75 65


在图表X轴上应显示Test T-1,T-2 .....像这样
Y轴显示标记为10、20、30、40 ...... 100.

和Marks1和Marks2分两行


我想通过编码而不是通过向导步骤来做到这一点...
谁能帮我...

致以问候

Manju K Gowda

I have a dundas chart i want to draw an line graph on that. I retrieved data from database.

For example I have a table called student

Test Marks1 Marks2
T-1 56 43
T-2 65 65
T-3 45 70
T-4 80 50
T-5 75 65


In the chart X-Axis should be shows Test T-1,T-2..... like this
Y-Axis shows Marks as 10,20,30,40......100.

And Marks1 and Marks2 in 2 lines


I want to do this by coding not by wizard steps...
can any one help me...

With Regards

Manju K Gowda

推荐答案

Dundas在CP上有一篇赞助文章:
Dundas has a sponsored article here on CP: Understanding Chart Areas with Dundas Chart for .NET[^]

For future reference (it will likely help you with your Googling) you want to bind your chart to the data, not the other way around.

Cheers.


这篇关于如何绑定到Dundas图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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