galacticcouncil / hydration-ui

8 stars 12 forks source link

historical price graph not scaling correctly for timesteps without data #1317

Open poliwop opened 4 months ago

poliwop commented 4 months ago

Looking at for example the WETH price graph against USDT, we can see that timesteps at 16:00, 19:00 and 20:00 are equally spaced, probably because there were no trades at the 17:00 and 18:00 timesteps. The historical graph should scale the x-axis correctly in the case of no data. Screenshot from 2024-05-21 17-55-45 Screenshot from 2024-05-21 17-55-19 Screenshot from 2024-05-21 17-54-54

mrq1911 commented 4 months ago

yeah, you can see issue clearly when you look at the days in x axis, those should be equidistant @nohaapav

nohaapav commented 4 months ago

yeah, i guess this is default trade view settings ..