tradingview / charting-library-tutorial

This tutorial explains step by step how to connect your data to the Charting Library
MIT License
435 stars 317 forks source link

How can I 'save' the layout on my local storage instead of 'https://saveload.tradingview.com'? and when I don't write this line: charts_storage_url: 'https://saveload.tradingview.com' in main.js then 'save' button not loads #132

Open yashashri0809 opened 1 month ago

yashashri0809 commented 1 month ago

How can I 'save' the layout on my local storage instead of 'https://saveload.tradingview.com'? and when I don't write this line: charts_storage_url: 'https://saveload.tradingview.com' in main.js then 'save' button not loads

yashashri0809 commented 1 month ago

Also I explored these links:

https://www.tradingview.com/charting-library-docs/latest/saving_loading/save-load-rest-api/ https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.ChartingLibraryWidgetOptions#charts_storage_url https://www.tradingview.com/charting-library-docs/latest/saving_loading/save-load-rest-api/ https://www.tradingview.com/charting-library-docs/latest/saving_loading/saving_drawings_separately/ https://www.tradingview.com/charting-library-docs/latest/saving_loading/save-load-rest-api/#develop-your-own-storage

Should I have to create my own url? and override that save and load methods?