Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Graph not shown if at least 2 points exists with same date #86

Open
michaelpomogajko opened this issue Aug 16, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@michaelpomogajko
Copy link

When multiple points have exactly the same date, the graph doesn't show at all.

<LineGraph 
 points={[
    {
       value: 1,
       date: new Date('2023-01-01')
    },
    {
       value: 2,
       date: new Date('2023-01-01')
    }
 ]}
...
/>
@michaelpomogajko
Copy link
Author

michaelpomogajko commented Aug 16, 2023

Also for some reason this is not being rendered as well

points={[
  {
    value: 1,
    date: new Date('2023-07-16T00:00:00.000Z'),
  },
  {
    value: 2,
    date: new Date('2023-07-19T14:23:21.723Z'),
  },
  { 
    value: 3, 
    date: new Date('2023-07-19T14:23:31.384Z') 
  },
]}

@Montchy Montchy added the bug Something isn't working label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants