project-nv / night-vision

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

Show X-axis timescale on lower time frames #38

Open Swoorup opened 1 year ago

Swoorup commented 1 year ago

Describe the bug

Have discussed sometime ago but putting in here for brevity. I have candles data whose bars are 1s width. It looks like even specifying 1000 ms to overlay.timeFrame doesn't do anything.

The good news however is that it displays just fine without the scales.

See the linked sandbox with the 1s data.

image

Reproduction

https://codesandbox.io/embed/playing-around-4-forked-fkl33n?fontsize=14&hidenavigation=1&theme=dark

Steps to reproduce

No response

Javascript Framework

no-framework (vanilla-js)

Logs

No response

Validations