Facebook Pixel

PhoneGap Basic Template

This example shows how to use AnyChart library with the PhoneGap framework.
View on GitHub

Running

To use this sample you must have NodeJS, PhoneGap installed on your computer.

To check your installations, run the following commands in the command line:


$ node -v
v8.2.1
$ phonegap -v
6.5.2
                

To install NodeJS, please, visit NodeJS site. To install PhoneGap, please, see the PhoneGap installation guide

To start this example run commands listed below.

Clone the repository from github.com:


$ git clone git@github.com:anychart-integrations/phonegap-template.git
            

Navigate to the repository folder:


$ cd phonegap-template
             

Run application:


$ phonegap serve
             

Open browser at http://localhost:3000/

To build the application for your mobile device, please, visit PhoneGap Build.


Workspace

Your workspace should look like:


phonegap-template/
    hooks/
    platforms/
    plugins/
    www/
        css/   # styles
        img/   # images
        js/   # js
        res/
        spec/
        index.html  # main template
        spec.html
    config.xml   # settings
    README.md
    LICENSE
                    

Technologies


Further Learning


License

AnyChart JavaScript/PhoneGap integration sample includes two parts:

  • Code of the integration sample that allows to use Javascript library (in this case, AnyChart) with JavaScript language and PhoneGap framework. You can use, edit, modify it, use it with other Javascript libraries without any restrictions. It is released under Apache 2.0 License.
  • AnyChart JavaScript library. It is released under Commercial license. You can test this plugin with the trial version of AnyChart. Our trial version is not limited by time and doesn't contain any feature limitations. Check details here.

If you have any questions regarding licensing - please contact us. sales@anychart.com