JorrinKievit / react-ts-tradingview-widgets

This is a React component library for TradingView Widgets
https://tradingview-widgets.jorrinkievit.xyz/
MIT License
154 stars 48 forks source link

refactor: Lack of `LoadingScreenOptions` Customization Capabilities #41

Closed mohadeseh-mousavisaeid closed 11 months ago

mohadeseh-mousavisaeid commented 11 months ago

Hello, First things first, I have to thank you for this powerful library. I have faced with the issue of customizing the loading-screen backgroundColor and foregroundColor while working with AdvancedRealTimeChart.

Description:

LoadingScreenOptions, which is provided in the TradingView Widget Constructor, has not been considered in type of AdvancedRealTimeChartProps.

API Reference:

https://www.tradingview.com/charting-library-docs/latest/api/interfaces/Charting_Library.LoadingScreenOptions https://www.tradingview.com/charting-library-docs/latest/core_concepts/Widget-Constructor/

JorrinKievit commented 11 months ago

Hey. I think this is a different library compared to the widget -> https://www.tradingview.com/widget/advanced-chart/

This library simply wraps the widgets. I read the docs of this library, and it seems that this charting library can only be obtained by sending a request trough a form? I can experiment and see if some of these props in the docs overlap with the advanced chart widget, but the widget documentation does not mention them