Page MenuHomePhabricator

Add label-spacing to dead-link logging chart
Closed, ResolvedPublic2 Estimated Story Points


Once we have several hundred days of data in the deadlinks logging interface, showing the past year of data will show 300+ date labels on the x axis. Unfortunately, Chart.js doesn't support filtering these labels, but there is a fork of it that does.

This will require 2 changes:

Event Timeline

kaldari triaged this task as Medium priority.Mar 9 2016, 5:56 PM
DannyH set the point value for this task to 2.Mar 11 2016, 6:13 PM
DannyH moved this task from To Be Estimated/Discussed to Estimated on the Community-Tech board.

Can be seen in action at: if you switch to Last year view. Max labels 60.

This looks good except for the weird hover behavior where it highlights more than 1 node at once. Can you try to fix that? At pageviews analysis it doesn't do that for some reason. You may want to compare with the code there:

Might be related to the pointHitDetectionRadius.

Might be related to the pointHitDetectionRadius.

Yep, that was the issue. Fixed.