Open jimthedev opened 11 years ago
Since the percentage of total minutes used per hour time slot will by variable, we need to dynamically generate the color boundaries based on the relative percentages. For example, if Monday morning has 12 hours allocated to the 9-9:59 block, then we should flag that as red (hot) only if other time slots have significantly less that 12 hours allocated. If the average time slot has 12 hours, then relatively speaking, Monday 9-9:59 is not busy. For this reason it will be necessary to calculate quartiles dynamically.
In the Grapher class, when showing a week span, we should generate color boundaries to show the relative frequencies of minutes used in that hour as compared to other hours in the week. For example, Monday at 9AM is likely very busy in terms of scheduling, so show this as "hot" (red). Show Saturday and Sundays as cool, and Fridays evenings are relatively cool.