TypeError: Cannot read property 'interval_ms' of undefined
See original GitHub issueDescription
I am trying to update the an overlays data, specifically “ROC” Overlay, i am using .merge to update the data,
i use that to update chart.data this.chart.merge('chart.data', data), and it works perfectly, but when I update an Overlay like
ROC I get the error TypeError: Cannot read property 'interval_ms' of undefined
Screenshot

Code (MVP)
const data = [[1617978600000, 2.38], [1618237800000, 2.31], [1618324200000, 1.58]]
this.chart.merge(`offchart.ROC5C.data`, data)
Console errors (if any)

Additional Info
(tvjs version, OS, browser, npm version…) “trading-vue-js”: “^1.0.2”
I know the project’s not being maintained, just hoping someone will help. thanks in advanced!
Issue Analytics
- State:
 - Created 2 years ago
 - Reactions:1
 - Comments:6
 
Top Results From Across the Web
Uncaught TypeError: Cannot read property 'interval' of undefined
I am experiencing jQuery errors in the Dashboard and the plugin Enable jQuery Migrate Helper did not help. When I try to edit...
Read more >TypeError: Cannot read property of undefined - Stack Overflow
TypeError : Cannot read property '0' of undefined. The line where I always get this error is: var FieldValue = details.requestBody.
Read more >tayλor / Ideal Love - Observable
TypeError : Cannot set properties of null (setting 'innerHTML'). undefined. TypeError: window.Magnetometer is not a constructor.
Read more >Cannot read properties of undefined (reading 'checked')
Uncaught TypeError: Cannot read properties of undefined (reading 'checked') · kaz12 Tech
Read more >slideshow is running one time - YOOtheme Support
Autoplay Interval (ms) : 5000 ... Items Per Set :3 ... Uncaught TypeError: Cannot read property 'top' of null f.extend.puzzle f.extend.show ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@Swoorup nope, the error not about missing TF but not able to get chart ref because its undefined. I found my problem. I was using v-if on TradingView component while loading chart data. Removing it fixed the issue.
So the main problem is tv extensions do not check for undefined refs.
Proper fix is to give the timeframe interval when you specify the datacube.
This is only an issue with ohlcv chart I guess?