I have a Line chart where I am trying to display monthly totals. The values passed to it are correct (first day of each month for X axis). The X axis is set to DatetimeScale. But the data pints are displayed incorrectly. It shows all points posted on January of relevant year. Data passed in is below.
What am I doing wrong? Axis is formatted correctly for the date span used. Just the points do not go where they are supposed to.
Same chart and code work fine when I pass it daily numbers.
X axis Y axis
1/7/2021 | 41 |
1/9/2021 | 7 |
1/10/2021 | 8 |
1/1/2022 | 8 |
1/2/2022 | 33 |