1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

change table design for rating history

This commit is contained in:
RaidMax
2018-05-31 19:17:52 -05:00
parent dca4d10967
commit 76d15e488e
10 changed files with 283 additions and 401 deletions

View File

@ -27,8 +27,8 @@
gridThickness: 0,
lineThickness: 0,
tickThickness: 0,
minimum: Math.min(...data) - 15,
maximum: Math.max(...data) + 15,
minimum: Math.min(...data) - Math.min(...data) * 0.075,
maximum: Math.max(...data) + Math.max(...data) * 0.075,
margin: 0,
valueFormatString: " ",
labelMaxWidth: 0
@ -59,3 +59,10 @@ $(document).ready(function () {
});
});
});
$(document).on("loaderFinished", function (event, response) {
const ids = $.map($(response).find('.client-rating-graph'), function (elem) { return $(elem).attr('id'); });
ids.forEach(function (item, index) {
getStatsChart(item, $(item).width(), $(item).height()).render();
});
});