Open chaithu4k opened 2 years ago
Hi,
same problem here
TypeError: Cannot read properties of undefined (reading 'UDFCompatibleDatafeed')
I've tried anything I could think of or find on the internet, but I keep getting Datafeeds
undefined,
also I couldn't run vue example due to deprecated node-sass!
Hi again,
I fixed my issue by adding both scripts to index.html
<script type="text/javascript" src="/charting_library/charting_library.standalone.js"></script>
<script type="text/javascript" src="/datafeeds/udf/dist/bundle.js"></script>
and another error that I was dealing with:
Uncaught SyntaxError: Unexpected token '<' (at bundle.js:1:1)
which was caused by relative paths for my scripts, fixed it by changing ./public
to /public
Hi Team,
Our porject is based on vuejs with larvel.. when we are trying to implement chart its throwing datafeeds undefined.
i have added charting_library and datafeeds in public floder
In APP.vue
const chartBundleScript = document.createElement("script"); chartBundleScript.type = "text/javascript"; chartBundleScript.src =
/resources/assets/src/public/datafeeds/udf/dist/bundle.js
; document.getElementsByTagName("head")[0].appendChild(chartBundleScript);I can see its reflected in browser..
` <div ref="chartContainer" class="TVChartContainer" />
`
can someone please help me in implementing charting library