


Within the root directory of your web server, create a folder named FusionCharts_XT_with_PHP. The FusionCharts PHP wrapper lets you load data for a chart using:Ī JSON string generated from an associative arrayĪn XML string generated from an associative array This script is bundled in php-wrapper> Code > wrappers > php-wrapper > fusioncharts.php You can easily download the latest PHP wrapper of FusionCharts from here. These libraries help in connecting to data sources, producing the chart data, and generating the required HTML and JavaScript code, which can be easily embedded in any web page.

For PHP developers who wouldn’t want to dabble in JavaScript, it also provides server-side libraries which enable them to create delightful charts in JavaScript. The PHP code actually helps you output this JavaScript and XML/JSON. Even when used with PHP, FusionCharts XT internally uses JavaScript and XML/JSON to render the charts. Introducing new and modified PHP wrapper of FusionCharts and it usage in this section. Modified on: Tue, 29 Sep, 2015 at 8:44 PMįusionCharts XT can effectively be used with PHP to plot dynamic data-driven charts.

Promise.all().Solution home Working with Plug-ins and Extensions Server Side Languages Implementation of PHP wrapper with FusionCharts Let schemaFetch = fetch(schemaUrl).then(jsonify) Let dataFetch = fetch(dataUrl).then(jsonify) Text: 'Online Sales of a SuperStore in the US' Here is a basic sample that shows how to create a chart using angular-fusioncharts:Īdd this in your Angular AppModule: import from * as FusionCharts from 'fusioncharts' To install fusioncharts library: $ npm install fusioncharts -save To install angular-fusioncharts library, run: $ npm install angular-fusioncharts -save
