react-charts icon indicating copy to clipboard operation
react-charts copied to clipboard

X axis sometimes doesn't start from 0 (3.0.0-beta.48)

Open doronnac opened this issue 3 years ago • 0 comments

I've noticed X axis doesn't start from 0 when switching between dates (think date picker changes which changes chart data in runtime)

I've notice this occuring mostly when (dayjs exmaple) switching between 1 calendar month minus 1 day -> 1 month, 6 days -> 7 days. It also seems to be highly sensitive to formatting - I used to pass date as string (already formatted) and X axis always had this spacing.

Screen Shot 2022-09-01 at 21 01 55

doronnac avatar Sep 01 '22 18:09 doronnac