A DataFlex custom component wrapper for the amCharts library.
Master branch is for amCharts v4. Use the "v3" branch for amCharts v3.
Install DataFlex. This workspace is setup for version 19.0, but should be easy to migrate.
Install Node.js. Version 10 or later will do nicely.
Install dependencies - from your AmChartsComponent folder run:
> npm install
Build the component client-side files (will be placed in
> npm run build
To run the demo application
Register the web application from the studio menu "Tools > Register WebApp...".
Hit F5 to run the application.
To use to component in another application
Copy client-side files into your application:
> xcopy AppHtml\amCharts <path to app>\AppHtml\amCharts /e /i
AppSrc/cAmChart.pkg to your application AppSrc folder, or add AmChartsComponent as a library ("Tools > Maintain Libraries... > Add Library...").