Using the Data String method to provide data
As we had mentioned earlier, there are two ways to provide data to FusionCharts either as a URL to the datasource (Data URL method), or as a string (Data String method). Till now, we have used the former method by invoking the setXMLUrl()
method on the chart instance and providing Data.xml
as the URL. In order to pass the XML as a string to the chart, we can use the setXMLData()
method, as explained next.
推薦閱讀
- Android Jetpack開發(fā):原理解析與應(yīng)用實戰(zhàn)
- WebAssembly實戰(zhàn)
- Julia機器學(xué)習(xí)核心編程:人人可用的高性能科學(xué)計算
- 區(qū)塊鏈:以太坊DApp開發(fā)實戰(zhàn)
- Building Mapping Applications with QGIS
- C語言實驗指導(dǎo)及習(xí)題解析
- Spring+Spring MVC+MyBatis從零開始學(xué)
- 區(qū)塊鏈國產(chǎn)化實踐指南:基于Fabric 2.0
- C語言程序設(shè)計實訓(xùn)教程與水平考試指導(dǎo)
- Java Web應(yīng)用開發(fā)項目教程
- Learning Grunt
- Mastering Leap Motion
- Learning Alfresco Web Scripts
- Prezi Cookbook
- Arduino Robotic Projects