Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Telerik MVC 条形图,它在启动期间出于性能目的使用服务器端绑定。页面加载后。我想将数据绑定更改为 AJAX,以便图表可以更新自身以响应其他事件。可以使用javascript更新数据绑定模式吗
您可以将要初始加载的值传递给 Chart 构造函数,还可以定义 ajax 绑定和选择方法。之后,一旦页面加载完毕,您可以使用以下代码刷新图表
<code> $('#chartID').data().tChart.rebind() </code>