Installation

Overview

Installation of AnyChart is very easy: to use Flash rendering you need to coyp swf files and basic JS library, and for HTML5 support AnyChartHTML5.js and AnyChart.js from AnyChart downloadable package.

Prerequisite

Flash ® Player is a required component to evaluate Anychart Flash Chart Components when Flash version is used.

You can download the latest Flash Player from Adobe Web Site.

SVG should be supported and JavaScript is enabled in browser to use HTML5 version.

Installation of AnyChart to your Web Server

Installation of AnyChart to your web server is a very easy task, that can be accomplished without any registration/tuning obstacles:

  1. Create a sub folder named AnyChart in the root folder your application (it's not obligatory to give this certain name or create it under root folder).
  2. Copy all the files from Downloadable Package :
    • From swf and js folder to use AnyChart Flash Charts
    • From js folder to use AnyChart HTML5 Charts
    and paste them into folder you've created.

That's it - now AnyChart Charts are ready to use into you online application. Proceed to Your First Chart tutorial to start creating your own charts with our solution.

Installation of AnyChart Samples on Web Server

If you want to install any of the live samples to your server - just copy a required sample folder to your site and launch the files in your browser.

to top

Installation of AnyChart on your local machine

Installation of AnyChart to the local machine is almost the same, but requires some additional steps caused by Flash Player 9 Security issues.

Windows 2000/XP/Vista/7 Installation Guide

Install AnyChart Flash Charts on your local PC (if you intend to use Flash rendering):

  1. Open the folder where you want to create charts.
  2. Create a sub folder named AnyChart in the root folder your application (it's not obligatory to give this certain name or create it under this folder).
  3. Copy all the files from Downloadable Package -> swf folder and paste them into folder you've created.
  4. Open Downloadable Package > register folder and paste register.bat into folder with swf files you've created.
  5. Run anychart.bat
  6. Now you may delete anychart.bat - Read about register.bat below
  7. Restart your Browser if it is launched.

Iif you intend to use only AnyChart HTML5 you can do that easier:

  1. Open the folder where you want to create charts.
  2. Create a sub folder named AnyChart in the root folder your application (it's not obligatory to give this certain name or create it under this folder).
  3. Copy all the files from Downloadable Package -> js folder and paste them into folder you've created.

That's it - now AnyChart Charts are ready to use into you online application. Proceed to Your First Chart tutorial to start creating your own charts with our solution.

Installation of AnyChart Samples

To install and run live samples on your local machine, please do the following (if you intend to use Flash rendering):

  1. Copy a folder with a sample to the desired location.
  2. Open swf sub folder in samples folder (in your new location).
  3. Run register.bat located there.
  4. Restart your browser if it is launched.
  5. Remove register.bat if you'd like to.

You should register this way any folder on your local machine where you want to store AnyChart swf files.

If you intend to use HTML5 rendering you don't need to run bat file and don't need to copy swf file.

register.bat description

register.bat does no harm to your PC or system - it just creates a configratuion file that tells FlashPlayer that AnyChart swf files can interact with local files. The configuration files are located in:
%APPDATA%\Macromedia\Flash Player\#Security\FlashPlayerTrust\
where %APPDATA% - path to current users application data folder.

register.bat creates a configuration file with a random name for each folder where you will run it and allows AnyChart swf files to be run from that folder.

to top

MAC Component Installation/Samples Installation

To install AnyChart на Mac OS you should (if you intend to use Flash rendering):

  1. Open the folder where you want to create charts,
    e.g. /Applications/Charts or /Users/<NAME>/Applications/Charts
    Where <NAME> - user name
  2. Create a sub folder named AnyChart in the root folder your application (it's not obligatory to give this certain name or create it under this folder),
    e.g. /Applications/Charts/swf or /Users/<NAME>/Applications/Charts/swf
    Where <NAME> - user name
  3. Copy all the files from Downloadable Package -> swf folder and paste them into folder you've created.
  4. Open Flash Player security settings folder:
    /Users/<NAME>/Library/Preferences/Macromedia/FlashPlayer/#Security/FlashPlayerTrust
    Where <NAME> -user name.
    If there is no folder #Security\FlashPlayerTrust – create it.
  5. In this folder create AnyChart.cfg file.
  6. Open AnyChart.cfg in any text editor and specify the way to the folder where AnyChart is installed:
    e.g.
    /Applications/Charts/
    /Applications/Charts/swf
    or
    /Users/<NAME>/Applications/Charts
    /Users/<NAME>/Applications/Charts/swf

Installation of AnyChart Samples

To install and run samples on your local machine, please do the following:

  1. Copy a folder with a sample to the desired location.
  2. Locate swf sub folder in samples folder (in your new location).
  3. Follow the steps described above for this folder.

You should register this way any folder on your local machine where you want to store AnyChart swf files.

If you intend to use HTML5 rendering you don't need to create cfg file and don't need to copy swf file.

to top

UNIX Component Installation/Samples Installation

To install AnyChart on Unix-like systems you should (if you intend to use Flash rendering):

  1. Open the folder where you want to create charts,
    e.g. /home/<NAME>/Charts, where <NAME> - user name
  2. Create a sub folder named AnyChart in the root folder your application (it's not obligatory to give this certain name or create it under this folder),
    e.g. /Applications/Charts/swf or /Users/<NAME>/Applications/Charts/swf
    Where <NAME> - user name
  3. Open Flash Player security settings folder:
    /home/<NAME>/.macromedia/Flash_Player/#Security/FlashPlayerTrust
    Where <NAME> -user name.
  4. If there is no folder #Security/FlashPlayerTrust –create it.
  5. In this folder create AnyChart.cfg file.
  6. Open AnyChart.cfg in any text editor and specify the way to the folder where AnyChart is installed:
    e.g.
    /home/<NAME>/Charts
    /home/<NAME>/Charts/swf
  7. Restart your web browser if it's launched.

Installation of AnyChart Samples

To install and run samples on your local machine, please do the following:

  1. Copy a folder with a sample to the desired location.
  2. Locate swf sub folder in samples folder (in your new location).
  3. Follow the steps described above for this folder.

You should register this way any folder on your local machine where you want to store AnyChart swf files.

If you intend to use HTML5 rendering you don't need to create cfg file and don't need to copy swf file.

to top