如何绑定到Dundas图表 [英] How to bind to a Dundas Chart
问题描述
我有一个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上有一篇赞助文章: ^ ]
为了将来的参考(可能会对您的Google搜寻有所帮助),您想将图表绑定到数据,而不是相反.
干杯.
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屋!