2013-02-26 84 views
1

我是KendoUI的初學者。我想在我的移動應用程序中使用Kendo UI顯示條形圖(基於Phone Gap)。此條形圖的數據應來自Web服務。此Web服務以JSON對象的形式返回具有J和Y座標JSON數組的數據。如何使用基於Web服務的KendoUI創建條形圖

我想這

$("#chart").kendoChart({ 
    dataSource: { 
     transport: { 
      read: { 
       url: " some URL ", 
       dataType: "json" 
      } 
     }, 
     sort: { 
      field: "year", 
      dir: "asc" 
     } 
    } 
}); 

任何幫助將是非常有用的。 謝謝。

回答

相關問題