Silverlight的柱形图中未显示大数据 [英] Large Data is not showing in Column Chart in Silverlight

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

问题描述

大家好,

我在Silverlight应用程序中使用了一个柱形图.该图显示10000或20000的记录很好,但是当记录超过10万时它没有显示图表. br/>
科对此有帮助...

谢谢,
Prasant

Hi All,

I am using a Column chart in my Silverlight Application.The Chart is Displaying fine with the records of 10000 or 20000 but when the Records are going beyond lakhs then its not showing up the Graph.Do any one faced this problem before!!!

Plesae help on this...

Thanks,
Prasant

推荐答案

我在一个应用程序中遇到了类似的问题,后来我发现该解决方案是采用分页方法的WCF RIA服务.

如果将页面大小定义为100,则WCF RIA将在初始时间切片时加载前100个.在后台,它将开始加载剩余的几千条记录.它也显示具有特定页面的页面导航控件.如果用户在后台加载之前点击了特定页面,则WCF RIA会自动负责获取该特定页面.它真的很好.

您可以参考页面 http://www .silverlightshow.net/items/Paging-WCF-Ria-Services-entities-in-Model-View-ViewModel-applications.aspx [
I had similar problem in one of my application and later I found the solution as WCF RIA Services with Paging methodology.

If you define the page size is 100, WCF RIA will load the first 100 at initial time-slice. In the background, it starts loading the remaining few thousands of records. It shows page navigation control with specific page too. If the user hits the specific page before the background load, WCF RIA automatically takes care of fetching that particular page. It works really nice.

You can refer the page http://www.silverlightshow.net/items/Paging-WCF-Ria-Services-entities-in-Model-View-ViewModel-applications.aspx[^]


我认为您的查询超时或超出了某些说明的音量限制.

20k数据行表明您的设计不正确.如果打算显示20k数据点,则该图表将失效.将聚合逻辑移到数据库中,或者将事件移到WCF层而不是UI.
I would think that your query is timeing out or you are exceeding a volume limit of some description.

20k datarows indicates you have a bad design. If you intend to display 20k data points then the chart is undeadable. Move you aggregation logic into the database or event the WCF layer and not the UI.


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

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