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.
推薦閱讀
- Unity 2020 By Example
- C語(yǔ)言程序設(shè)計(jì)案例式教程
- Drupal 8 Module Development
- Apache Mahout Clustering Designs
- 好好學(xué)Java:從零基礎(chǔ)到項(xiàng)目實(shí)戰(zhàn)
- 打開(kāi)Go語(yǔ)言之門(mén):入門(mén)、實(shí)戰(zhàn)與進(jìn)階
- Scratch趣味編程:陪孩子像搭積木一樣學(xué)編程
- Tableau Desktop可視化高級(jí)應(yīng)用
- Mastering Leap Motion
- 大話代碼架構(gòu):項(xiàng)目實(shí)戰(zhàn)版
- Android熱門(mén)應(yīng)用開(kāi)發(fā)詳解
- jQuery EasyUI從零開(kāi)始學(xué)
- BackTrack 5 Cookbook
- ROS Robotics Projects
- Python語(yǔ)言及其應(yīng)用(第2版)