mirror of
https://github.com/tradingview/charting-library-examples.git
synced 2024-11-25 16:27:09 +08:00
.. | ||
public | ||
src | ||
.gitignore | ||
browserslist | ||
copy_charting_library_files.sh | ||
package-lock.json | ||
package.json | ||
README.md |
TradingView Charting Library and React Integration Example (JavaScript)
The earliest supported version of the charting library for these examples is v23.043
.
How to start
- 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.
- Install dependencies
npm install
. - Copy the charting library files
- 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. - If you are not able to run bash scripts then do the following:
- Copy
charting_library
from https://github.com/tradingview/charting_library/ to/public
and/src
. - Copy
datafeeds
from https://github.com/tradingview/charting_library/ to/public
.
- Copy
- If you are able to run bash scripts then the
- Run
npm start
. It will build the project and open a default browser with the Charting Library.
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 React
React is a JavaScript library for building user interfaces. It is maintained by Facebook, Instagram and a community of individual developers and corporations.
About This Project
This project was bootstrapped with Create React App.