tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.33k stars 744 forks source link

react hook this._innerWindow(...).widgetReady is not a function #282

Closed bi123co closed 2 years ago

bi123co commented 2 years ago

react-typescript project in charting-library-examples is running ok ,but I have a react-hook project using tradingview, it returns this._innerWindow(...).widgetReady is not a function

ps: I copied charting_library and datafeeds in src, and charting_library in src

can anyone know how to solve it? best wishes

bi123co commented 2 years ago

I have tried library_path: 'src/charting_library/', libraryPath: 'src/charting_library/', library_path: 'public/charting_library/', libraryPath: 'public/charting_library/',

but it's still "this._innerWindow(...).widgetReady is not a function"

bi123co commented 2 years ago

ps : I got a version like "CL v21.064 (internal id f0bc1e45 @ 2022-03-17T12:19:26.809Z)" from "src/charting_library"

romfrancois commented 2 years ago

Closing as duplicate.