Need to analyze your data? Our JS charts include dozens of pre-built technical indicators and you can easily create your own.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src fixed reset function Sep 18, 2018
.gitignore
LICENSE add readme Apr 18, 2017
README.md fix readme Oct 11, 2017
gulpfile.js fix Jun 6, 2017
package.json fix May 2, 2017

README.md

AnyChart - JavaScript Charts designed to be embedded and integrated

Technical Indicators

Need to analyze your data? Our JS charts include dozens of pre-built technical indicators and you can easily create your own.

Technical Indicators | AnyChart

Modifying source code

There are two possible options of modifying demo source code, using Node.js and npm and with no additional requirements.

Using Node.js and npm

This option is recommend because it runs all development environment you need:

  • Runs Node.js server with the demo on http://localhost:3000/.
  • Watches for changes in source files and rebuilds distribution files on the fly.
  • Dynamically reload web page using browser-sync tool.

Please, ensure you have all requirements installed before running.
Then, to run demo with Nodej.js and npm, use following commands:

git clone git@github.com:anychart-solutions/technical-indicators.git
cd technical-indicators
gulp

Now, when all environment is up and running, you may use following instructions to modify source code:

  • To modify demo stylesheets, edit src/sass/*.scss files.
  • To modify demo JavaScript, edit src/js/index.js file.
  • To modify demo markup, edit src/index.html file.
  • To modify available indicators and default settings, edit src/indicators.xml file.
  • To modify available data sources, edit chartDataSelect select options.

With no additional requirements

This option doesn't require Node.js and npm installation, but you have to run web-server anyway. Also it imposes some limitations on demo source code modification process.

  • To run demo, please, open index.html page with your web-server.
  • To modify demo stylesheets, please add your own <styles> section to src/index.html file.
  • Unfortunately, here is no way to modify demo JavaScript code except adding your own <script> section to src/index.html file.
  • To modify demo markup, edit src/index.html file.
  • To modify list of available indicators and default settings, edit src/indicators.xml file.
  • To modify data sources, edit chartDataSelect select options.
  • To make a production build you need to copy all required files to distribution folder by your own.

Running on production

All production files are located in distribution folder. In case you did some modification of the source code, you need to rebuild production files as mentioned in Using Node.js and npm section or manually using following command.

gulp prod

Installing requirements

To run demo development environment, please, ensure you have installed Git, Node.js, npm and gulp, overwise:

Links

License

AnyChart Technical Indicators solution sample includes two parts:

  • code of the solution sample that allows to use Javascript library (in this case, AnyChart). 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 Analytics