chart.events.on("chart:range-changed", (event) => {
const dataStart = data.panes[0].overlays[0].data[0][0];
const from = event[0];
const to = event[1];
console.log(
`DataStart: ${new Date(dataStart).toUTCString()}, ViewStart: ${new Date(
from
).toUTCString()}, ViewEnd: ${new Date(to).toUTCString()}`
);
});
It appears that NV chart becomes buggy:
It fails to display some or most of the candles when scrolling despite the data being there. See repro link's console.
Data begins at Mon, 02 Jan 2023 16:51:18 GMT but it is not visible. Removing the listener solves the issue.
Zooming is also unresponsive, at least on testpad, and
Describe the bug
When subscribing to events i.e
It appears that NV chart becomes buggy:
Mon, 02 Jan 2023 16:51:18 GMT
but it is not visible. Removing the listener solves the issue.Reproduction
https://codesandbox.io/s/playing-around-4-forked-fkl33n?from-embed=&file=/main.js:601-933
Steps to reproduce
No response
Javascript Framework
no-framework (vanilla-js)
Logs
Validations