There are several ways to download/install AnyChart.
All binaries are located in dist folder.
If you don't want to download and host AnyChart yourself, you can include it from the AnyChart CDN (Content Delivery Network): https://www.anychart.com/download/cdn
<head> <script src="https://cdn.anychart.com/releases/v8/js/anychart-base.min.js"></script> </head>
You can install AnyChart using npm, bower or yarn:
npm install anychart
bower install anychart
yarn add anychart
The fastest way to start with AnyChart is to include framework into a webpage and write some code. Look at this simple HTML snippet below:
AnyChart provides wide variety of plugins for different kind of technologies, which includes:
You can use AnyChart in your TypeScript projects - we have definition file for our library which you can find in distribution folder. Please, take a look at webpack and typescript integration example for more details.
You can use AnyChart in your ECMAScript 6 projects over two ways:
To add AnyChart on a page use
<script> section with
<script type="module"> import '_localpath_to_anychart/anychart-bundle.min.js' // regular AnyChart code here </script>
For more details, take a look at AnyChart ES6 example.
You can use AnyChart with any bundling tool or module loader such as WebPack, Browserify, Require.js and others. For more details, take a look at AnyChart Webpack example.
AnyChart can run on any platform and with any database. These samples were created to demonstrate how AnyChart can be easily integrated into your environment. All examples are distributed under an Apache 2.0 License and can be customized to your application. If you are interested in a particular integration not listed here, please contact us.
|ASP.NET, C# and MySQL||ASP.NET, VB.NET and MySQL||ASP.NET, C#, SignalR and MySQL|
|Go, Revel and MySQL||Go and MySQL||Java Servlets, Maven, JDBC, JSP and MySQL|
|NodeJS and MongoDB using socket.io||Java Spring, Maven, Hibernate and MySQL||Julia and MySQL|
|NodeJS Express, Jade and MongoDB||PHP, Symfony and MySQL||PHP, Laravel and MySQL|
|PHP, Slim and MySQL||Perl, Catalyst Web Framework and MySQL||Python, Flask and MySQL|
|Python, Django and MySQL||R, Shiny and MySQL||Ruby, Sinatra and MySQL|
|Ruby on Rails and MySQL||Scala, Akka and MySQL||Scala, Play and MySQL|
To contribute to AnyChart project please:
build.py python script is used to work with AnyChart project. You need to install python to use it.
To see all available options of the build script use
To see command options use:
./build.py <command_name> -h
To install all dependencies use the
After running this command you can compile the project using the
This compiles production version of anychart-bundle and all modules and puts them into the
out folder. You can read more about modules in our Modules article.
To create a dev build for the debug purposes use
./build.py compile -d
-df option generates property renaming report, variable renaming report, and source map location mapping files:
./build.py compile -df
AnyChart since v8.0.0 is structured as a modules, so you can use only what you need. Please look at our article Modules to start working with modules.
├── css │ ├── anychart.less │ ... ├── dist │ ├── json-schema.json │ ├── xml-schema.xsd │ ... ├── src │ ├── charts │ ├── core │ ├── modules │ ├── themes │ ... │ README.md │ LICENSE │ ...
css folder contains .less CSS files that are compiled into one .css file.
src folder contains AnyChart source code files organized according to the project structure. For example:
chartssubfolder contains chart classes
coresubfolder contains core classes
modulessubfolder contains modules
dist folder contains binaries and JSON/XML Schemas.