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:
- Switching the Chart.min.js that we are using to this fork: https://github.com/leighquince/Chart.js/blob/master/Chart.min.js
- Adding some labelsFilter configuration to the chart. See https://github.com/leighquince/Chart.js for documentation and https://github.com/MusikAnimal/pageviews/commit/28f60e99db8a799379b11e7445766fa5cd72300c for an example.