mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Amend xaxis mode to time from category to try to reduce x axis clutter
This commit is contained in:
@@ -17,8 +17,9 @@ $(document).ready(function(){
|
||||
hoverable: true
|
||||
},
|
||||
xaxis: {
|
||||
mode: 'categories',
|
||||
tickLength: 0
|
||||
mode: 'time',
|
||||
tickLength: 0,
|
||||
timeformat: "%d %b"
|
||||
},
|
||||
yaxis: {
|
||||
tickDecimals: 0
|
||||
@@ -115,7 +116,7 @@ $(document).ready(function(){
|
||||
}
|
||||
|
||||
function getXAxisLabel (el) {
|
||||
return el.find('[data-role="category"]').html();
|
||||
return el.find('[data-role="category"]').attr('data-value');
|
||||
}
|
||||
|
||||
function storeDatum (el, label) {
|
||||
|
4
public/js/site.min.js
vendored
4
public/js/site.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user