Closed Bug 1192428 Opened 11 years ago Closed 10 years ago

daily and front page graph x-axis doesn't extend as far as the data

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lonnen, Unassigned)

References

Details

The data lines extend past the x-axis label on the homepage. This seems to be a bug in metrics graphics. Can we work around it for now by plotting a 0 stroke or otherwise invisible line of 0s that contains an extra day's worth of data? Is there some other hack that will do?
It looks like this problem went away when 1192313 was fixed. The points now line up with the ticks, so the ends of the data lines and x-axis also line up. This works for the daily and front page graphs because the times are all midnight in these graphs. The short axis issue does still affect other time series graphs, which have variable times (e.g. the graphs on the signature page). Metrics Graphics say the shorter axes are by design, rather than a bug, so they have no plans to "fix" this - although they are working on an option to extend the axis as far as the data. Until this is ready, we could try an invisible line on the signature graphs. I'm not sure a slightly shorter axis looks all that bad though...
I believe the axis should extend at least as far as the data, and it's better for the axis to extend into the future than to have the data extend. Rounding up to the nearest whole unit rather than rolling down. This mostly went away with 1192313. Good work! I'm happy resolving this for now and re-filing if its occurring somewhere else that is bothersome.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.