charting-library-examples/angular
2022-01-19 17:23:58 +00:00
..
.vscode Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
src Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
.browserslistrc Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
.editorconfig Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
.gitignore Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
angular.json Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
copy_charting_library_files.sh Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
karma.conf.js Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
package-lock.json Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
package.json Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
README.md Only mention major version, use HTML element container 2022-01-19 17:23:58 +00:00
tsconfig.app.json Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
tsconfig.json Update Angular example for v20.033 2022-01-12 12:42:50 +00:00
tsconfig.spec.json Update Angular example for v20.033 2022-01-12 12:42:50 +00:00

TradingView Charting Library and Angular 5 Integration Example

The earliest supported version of the charting library for these examples is v20.

How to start

  1. Check that you can view https://github.com/tradingview/charting_library/. If you do not have access then you can request access to this repository here.
  2. Install dependencies with npm install.
  3. Copy the charting library files
    1. If you are able to run bash scripts then the copy_charting_library_files.sh script can be used to copy the current stable version's files.
    2. If you are not able to run bash scripts then do the following:
      1. Copy charting_library folder from https://github.com/tradingview/charting_library/ to /src/assets.
      2. Copy datafeeds folder from https://github.com/tradingview/charting_library/ to /src/assets.
  4. Run ./node_modules/.bin/ng serve (use "./node_modules/.bin/ng" serve in Windows) for a dev server and navigate to http://localhost:4200/.

What is Charting Library

Charting Library is a standalone solution for displaying charts. This free, downloadable library is hosted on your servers and is connected to your data feed to be used in your website or app. Learn more and download.

What is Angular

Angular is a platform that makes it easy to build applications with the web. Angular combines declarative templates, dependency injection, end to end tooling, and integrated best practices to solve development challenges. Angular empowers developers to build applications that live on the web, mobile, or the desktop. Learn more.

About This Project

This project was generated with Angular CLI version 13.1.2.