charting-library-examples/react-typescript
2023-07-24 12:15:35 +01:00
..
public Dont try to load polyfills in react examples 2022-01-28 10:17:23 +00:00
src Updating example to support ReactV18 2023-03-31 15:30:28 +01:00
.gitignore Update react-typescript example part 2 2021-02-01 13:32:48 +03:00
browserslist Update react-typescript example for v20.033 2022-01-12 12:41:12 +00:00
copy_charting_library_files.sh Update react-typescript example for v23.043 2023-02-01 13:50:26 +00:00
package-lock.json Update react-typescript example for v23.043 2023-02-01 13:50:26 +00:00
package.json Update react-typescript example for v23.043 2023-02-01 13:50:26 +00:00
README.md Update README.md 2023-07-24 12:15:35 +01:00
tsconfig.json Updating example to support ReactV18 2023-03-31 15:30:28 +01:00
tsconfig.test.json [react-typescript] Added unit tests 2019-07-04 16:21:35 +02:00
tslint.json Removed -example from examples' name 2018-05-04 12:25:44 +03:00

TradingView Charting Library and React Integration Example (TypeScript)

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

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 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 from https://github.com/tradingview/charting_library/ to /public and /src.
      2. Copy datafeeds from https://github.com/tradingview/charting_library/ to /public.
  4. 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.