Skip to content

Volume in second Pane -> Cursor-Data not working if "overlay": "Volume" #108

@Patricks15

Description

@Patricks15

Describe the bug

Hey there,
I think your library is great and I would like to support you by pointing out strange behavior.
In my use case, I have displayed the volume in a second pane. I noticed a strange behavior at the bar, which displays the current stock data for the cursor. This is not working anymore, if a set the "overlay": "Volume" for the second pane.

See below before and after:
image
After: It is not working anymore:
image

Also the adjustment for the scale for the second pane is not working correctly anymore. Try it in the provided Sandbox.
Change the "overlay": "Volume" to "overlay": "Spline" -> Than all is working in the correct way !!

Hope you can help me out.
Best regards,
Patrick

Reproduction

https://codesandbox.io/p/sandbox/night-vision-volume-pane-j4mxkl

Steps to reproduce

No response

Javascript Framework

no-framework (vanilla-js)

Logs

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a NightVision issue and not a framework-specific issue.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions