[BUG] X-axis Labels and Bars Misalignment on Profile Views Chart
loftwah opened this issue · comments
Has this bug been raised before?
- I have checked "open" AND "closed" issues and this is not a duplicate
Where did you find this bug?
production
Version of BioDrop (for example "v1.2.3")
v2.99.10
Description
Description
On the BioDrop analytics profile views chart, there is a misalignment between the x-axis labels and the corresponding bars. The first bar, representing the data for 01/01/2024
, does not start directly above its label but slightly to the right. This misalignment persists throughout the chart, potentially affecting data interpretation.
Expected Behavior
Each bar should start directly above its corresponding x-axis label to ensure clear and accurate representation of the data.
Possible Solution
Adjust the chart rendering logic to align the start of each bar directly above the center of its respective x-axis label.
Additional Information
- Issue observed on the 'Profile Views' chart for the last 30 days.
- Screenshot attached for reference.
Steps to Reproduce
Steps to Reproduce
- Open the BioDrop account dashboard.
- Navigate to the 'Statistics' section.
- Observe the alignment of the bars with the x-axis labels.
Screenshots
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response
To reduce notifications, issues are locked until they are
🏁 status: ready for dev
Hey @loftwah ! I'm not able to reproduce this but this issue has been open awhile. Are you still experiencing it?
Thanks @loftwah and @Vijaykv5 for checking again. I'll close for now since it appears to be resolved.
ℹ️ amandamartin-dev has some opened assigned issues: 🔧View assigned issues
@loftwah ran a responsive test, I've been on a mac teting both times. I'm seeing the chart respond to changes in viewport. Will leave closed for now as I think the time it would take to track this down versus the impact to users may not be very high at this time. Wdyt?
responsive-test.mov
Yeah if it is only my user it doesn't really matter. I could trace it down to being a strange bug to do with date formatting and locale. It doesn't always appear for me. You always have this if you notice it happens for anyone else.
thanks Dean for tracking it down! 👍
@loftwah ran a responsive test, I've been on a mac teting both times. I'm seeing the chart respond to changes in viewport. Will leave closed for now as I think the time it would take to track this down versus the impact to users may not be very high at this time. Wdyt?
responsive-test.mov
Just noticed your test is showing the issue. There is a blank day on the left of the chart? It is showing the day from the previous month on your chart too.