Added more important players

This commit is contained in:
Yarne Coppens 2024-09-07 16:13:41 +02:00
parent ba35b25c60
commit dba5076107

View file

@ -1,7 +1,7 @@
document.body.onload=loadStatistics() document.body.onload=loadStatistics()
document.getElementById('statistics_nav').classList.add('active') document.getElementById('statistics_nav').classList.add('active')
const important_player_name_colors = {'Yarne':'black', 'Lore':'green', 'Lucas':'red','Louize':'blue','Ruben':'purple'} const important_player_name_colors = {'Yarne':'black', 'Lore':'green', 'Lucas':'brown','Louize':'blue','Ruben':'purple', 'Ina':'orange', 'Matthias':'yellow','Kelly':'darkorange','Keanu':'darkblue'}
function create_statistic_card(col_number = null){ function create_statistic_card(col_number = null){
function create_statistic_card_col(){ function create_statistic_card_col(){
@ -479,6 +479,7 @@ async function loadStatistics(){
winrate_over_time_statistic_data[player_name].result[date_key] *= 100 winrate_over_time_statistic_data[player_name].result[date_key] *= 100
} }
} }
create_multi_line_chart(winrate_over_time_statistic_data, 'Winrate van spelers over tijd') create_multi_line_chart(winrate_over_time_statistic_data, 'Winrate van spelers over tijd')