project-nv / night-vision

Highly customizable charting library, created for professional traders
https://nightvision.dev
MIT License
252 stars 58 forks source link

Lock X-axis #49

Closed Jonarod closed 1 year ago

Jonarod commented 1 year ago

Description

Is there a way to lock x-axis completely an scroll AND on drag/pan ? I reckon tvjs might have something like this in the form of an event maybe ? (not sure thought)

Suggested solution

Something like events.emit('scroll_lock', true)

Alternative

No response

Additional context

No response

Validations

C451 commented 1 year ago

Not implemented yet, have to steal from tvjs code.

C451 commented 1 year ago

Implemented in 0.4.0