Fusion Charts 超时
我的页面包含使用融合图表呈现的多个图表,并且我正在从数据库中提取大量数据来填充它们。 一些图表超时并且持续旋转,http 请求被中止。如果该图表的 URL 在浏览器中单独运行,则会显示相同的图表。 我增加了 jquery.ajax 调用的超时值,但这不起作用,我假设超时发生在 Flash 播放器级别。有什么方法可以处理此超时问题吗?
I have page with multiple charts rendered using fusion charts and I am pulling large amount of data from the database for populating them.
Some of the charts are getting timed out and have a continuous spinner, http request get aborted. the same chart shows up if the url for that chart is seperately run in the browser.
I have increased the timeout value for jquery.ajax call but that is not working, I am assuming the time out occurs at the flash player level.Anyways to handle this timeout issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发生这种情况的原因有多种,也有多种解决方法。
.setDataURL
),并且您没有使用纯 HTML 嵌入方法。ZoomLine
图表。FC_Rendered
事件时,渲染下一个图表...等等。).setXMLData()
将数据作为XML
字符串提供来开始渲染图表。即使您使用图表的 JavaScript 变体,您也可以检查是否会发生这种情况。如果没有,那么您可以坚持使用它。
PS:这么晚回答......但如果你仍在循环中,它可能会有所帮助。 :P
There are various reasosn why this might happen and there are a number of workarounds as well.
.setDataURL
) and that you are not using pure HTML embedding method.ZoomLine
chart.FC_Rendered
event, render the next one... and so on.)XML
string using.setXMLData()
.You can also check whether this occurs even you are using JavaScript variant of the charts. If not then you may stick to using it.
PS: Answering this way late... but if you are still in the loop, it may help. :P