Project

General

Profile

Actions

Bug #40

closed

daily sleep duration graph points are skewed in x

Added by Tony Ciavarella almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
12/04/2010
Due date:
% Done:

100%

Estimated time:

Description

For some reason, the daily sleep duration graph points are skewed in the X direction. The other graphs seem to line up perfectly. To see it best, zoom all the way in.

Values to the left of center seem to be off to the left while values right of center seem to be off to the right but they all could be skewed the same direction. It's hard to tell exactly, but they are definitely wrong.

It seems on the graph I was looking at, 6 days are shown but 7 values are plotted. That makes little sense. Perhaps the date divisions aren't working properly.

Further testing has shown that when a 40 dip minimum size for each X division is used, it works fine, but a 50 dip minimum on the same graph screws up, so something must be dumb about the division logic in DateTransform.

Actions

Also available in: Atom PDF