question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Correctly handle `overlay: true` in series options while create series to backward compat

See original GitHub issue

Hi, I use latest standalone js file from https://unpkg.com/lightweight-charts@3.0.0/dist/lightweight-charts.standalone.production.js I wan’t to have an ability to make subscription on scrolling event for load more data to chart. I found such methods subscribeVisibleTimeRangeChange subscribeVisibleLogicalRangeChange But when i try to call them, i have next error: Uncaught TypeError: chart.timeScale(...).subscribeVisibleTimeRangeChange is not a function Can you explain what’s wrong?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexKnyazyukcommented, Jun 12, 2020

I found solution, just add priceScaleId to second series

0reactions
timocovcommented, Jun 14, 2020

It looks like we didn’t handle correctly passing overlay: true for backward compatibility while creating the series (https://github.com/tradingview/lightweight-charts/blob/master/docs/3.0-breaking-changes.md#creating-overlay), but handle it while applying an options to the series.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's new in 1.4.0 (January 22, 2022) - Pandas
Series.ewm() and DataFrame.ewm() now support a method argument with a 'table' option that performs the windowing operation over an entire DataFrame .
Read more >
Ensuring backwards compatibility in distributed systems
Let's look at some ways we can make our web APIs backwards compatible. The robustness principle. To create web APIs that are easy...
Read more >
Build a Responsive UI with ConstraintLayout
Notice that as you drag the constraint handle, the Layout Editor shows potential connection anchors and blue overlays. Click one of the Create...
Read more >
Use the OverlayFS storage driver - Docker Documentation
The overlay and overlay2 drivers are supported on xfs backing filesystems, but only with d_type=true enabled. Use xfs_info to verify that the ftype...
Read more >
DevServer - webpack
This option allows you to allowlist services that are allowed to access the dev server. webpack.config.js module.exports = { //... devServer: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found