budget icon indicating copy to clipboard operation
budget copied to clipboard

Weekly report graph looks a bit strange

Open sebastiaanspeck opened this issue 5 years ago • 6 comments

The weekly report looks a bit offset. See the difference in space between month 5 and 6 and the other months. May and June are wider in size

Schermafbeelding 2019-08-07 om 19 43 14

sebastiaanspeck avatar Aug 07 '19 17:08 sebastiaanspeck

This is probably due to the labeling. The chart's data is weekly, but the labels are monthly. To determine where to plot labels for the months, we're looking at the last week of each month, and plotting it there.

You can check out resources/views/reports/weekly_report.blade.php, as this is where it happens.

range-of-motion avatar Aug 12 '19 08:08 range-of-motion

Maybe change the labelling to Q1, 2, 3 and 4?

sebastiaanspeck avatar Aug 12 '19 08:08 sebastiaanspeck

Seems like an idea, but less specific. Harder to see exactly what happened in—for example—February?

range-of-motion avatar Aug 12 '19 09:08 range-of-motion

Or maybe the view can be toggled between monthly and Q1 etc?

sebastiaanspeck avatar Aug 12 '19 10:08 sebastiaanspeck

Good idea. I'd still prefer to see if we can fix the existing spacing "issue" tho.

range-of-motion avatar Aug 12 '19 10:08 range-of-motion

Agree

sebastiaanspeck avatar Aug 12 '19 10:08 sebastiaanspeck