rubyforgood / Flaredown

Flaredown web app and API
http://www.flaredown.com
GNU General Public License v3.0
39 stars 15 forks source link

Patterns charts broken on multi-checkin days #547

Closed lmerriam closed 2 years ago

lmerriam commented 2 years ago

The patterns charts seem to be having trouble resolving days that have multiple checkins. It tries to show both values on the chart at the same X position, and the tooltip appears to be showing "undefined" for any subsequent instances of a value.

On the individual history charts it looks like we average multiple checkins into a single value for the day, extending that same behavior to the patterns charts would be consistent and solve the issue well.

image