charting-library-examples
charting-library-examples copied to clipboard
Cannot read property 'UDFCompatibleDatafeed' of undefined
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

added below script in public/index.html
had resolved my issue
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
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
Just remove the window.datafeed. UDFCompatibleDatafeed() and leave it is new UDFCompatibleDatafeed() and import this from datafeed/lib folder.
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!