Skip to content

Question: How do you add crosshair on this chart #2

@AshwinTayson

Description

@AshwinTayson

Hello,

Thank you so much for this code It has been very helpful. I'm trying to integrate crosshairs to track using mouse and get the candle information/ any lines (moving averages, and so on) we might add in the future.

I had a decent version working in a old d3 code with d3.time.scale. I see here the xAxis is constructed using LinearScale. Added the zoom & pan complexity, I'm completely overwhelmed. Could you perhaps point me in the right direction? I want to add crosshairs to this. I've already went through your other code block for reference. Looking forward to your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions