charting-library-examples/sveltekit
2024-07-31 14:50:35 +01:00
..
src CL-1977: Updating svelte 2024-07-31 14:50:35 +01:00
static Charting Library with Sveltekit 2023-08-05 20:32:53 +03:00
.gitignore Charting Library with Sveltekit 2023-08-05 20:32:53 +03:00
.npmrc Charting Library with Sveltekit 2023-08-05 20:32:53 +03:00
copy_charting_library_files.sh suggested changes 2023-08-25 00:44:43 +03:00
package-lock.json CL-1977: Updating svelte 2024-07-31 14:50:35 +01:00
package.json CL-1977: Updating svelte 2024-07-31 14:50:35 +01:00
README.md CL-1977: Updating svelte 2024-07-31 14:50:35 +01:00
svelte.config.js Charting Library with Sveltekit 2023-08-05 20:32:53 +03:00
vite.config.js Charting Library with Sveltekit 2023-08-05 20:32:53 +03:00

TradingView Charting Library and Sveltekit(Svelte) Integration Example

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

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 /static and /src/lib folder.
      2. Copy the datafeeds folder from https://github.com/tradingview/charting_library/ to /src/lib.
  4. Run npm run dev to run the app in development mode with the Charting Library.
  5. Run npm run build To create a production version of your app.

    You can preview the production build with npm run preview.

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.

Credit

Example kindly provided by Razz19