charting-library-examples/vuejs
2022-01-21 10:35:01 +00:00
..
public Update Vue example for v20.033 2022-01-12 12:47:29 +00:00
src Use ref in Vue example 2022-01-21 10:35:01 +00:00
.eslintignore Update vuejs example part 2 2021-02-01 11:40:14 +03:00
.gitignore Update vuejs example part 2 2021-02-01 11:40:14 +03:00
.npmrc [vuejs] Added .npmrc with disabled package-lock file 2018-10-29 16:29:50 +03:00
babel.config.js Updated Vue.js example 2019-07-30 23:13:15 +03:00
copy_charting_library_files.sh Update Vue example for v20.033 2022-01-12 12:47:29 +00:00
package-lock.json Update Vue example for v20.033 2022-01-12 12:47:29 +00:00
package.json Updated vuejs example 2021-01-12 14:00:13 +03:00
README.md Only mention major version, use HTML element container 2022-01-19 17:23:58 +00:00

TradingView Charting Library and Vue.js Integration Example (TypeScript)

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 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 the charting_library folder from https://github.com/tradingview/charting_library/ to /public folder.
      2. Copy the datafeeds folder from https://github.com/tradingview/charting_library/ to /public.
  4. Run npm run serve. 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 Vue.js

Vue is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only, and is easy to pick up and integrate with other libraries or existing projects.

About This Project

This project was bootstrapped with Vue CLI.