charting-library-examples icon indicating copy to clipboard operation
charting-library-examples copied to clipboard

Cannot read property 'UDFCompatibleDatafeed' of undefined

Open Merrick17 opened this issue 4 years ago • 6 comments

I implemented the charting library into serum-dex-ui , and it worked on local dev, after i build and deploy to the server I get this error image

Merrick17 avatar Nov 04 '21 10:11 Merrick17

added below script in public/index.html

had resolved my issue

krupasavadiya avatar Jan 17 '22 14:01 krupasavadiya

sorry i have read wrong, now i am facing same issue like in local it is working fine but on server I am also facing same issue. any suggestion?

Regards, Krupa savadiya

krupasavadiya avatar Jan 31 '22 13:01 krupasavadiya

sorry i have read wrong, now i am facing same issue like in local it is working fine but on server I am also facing same issue. any suggestion?

Regards, Krupa savadiya

Hey krupasavadiya,

Did you solve it? I have same issue.

Thanks

oguzhanvarli avatar Aug 09 '22 07:08 oguzhanvarli

Just remove the window.datafeed. UDFCompatibleDatafeed() and leave it is new UDFCompatibleDatafeed() and import this from datafeed/lib folder.

nishihere19 avatar Feb 09 '23 07:02 nishihere19

Just remove the window.datafeed. UDFCompatibleDatafeed() and leave it is new UDFCompatibleDatafeed() and import this from datafeed/lib folder.

Thank you @nishihere19, you saved my day!

cookabc avatar Apr 19 '23 15:04 cookabc