Added most bought designer & artist statistic
This commit is contained in:
parent
56e420198b
commit
57fa200f9b
1 changed files with 7 additions and 0 deletions
|
|
@ -510,4 +510,11 @@ async function loadStatistics(){
|
||||||
const shelf_of_shame_statistic_data = await makeRequest(api_url + '/statistics/shelf_of_shame')
|
const shelf_of_shame_statistic_data = await makeRequest(api_url + '/statistics/shelf_of_shame')
|
||||||
create_multiple_boardgame_chart(shelf_of_shame_statistic_data, 'Shelf of Shame', false)
|
create_multiple_boardgame_chart(shelf_of_shame_statistic_data, 'Shelf of Shame', false)
|
||||||
|
|
||||||
|
const most_bought_from_designer_statistic_data = await makeRequest(api_url + '/statistics/most_bought_designer?filter_expansions_out=true')
|
||||||
|
create_multiple_boardgame_chart(most_bought_from_designer_statistic_data, 'Designer waarvan we het meeste hebben gekocht', true)
|
||||||
|
|
||||||
|
const most_bought_from_artist_statistic_data = await makeRequest(api_url + '/statistics/most_bought_artist?filter_expansions_out=true')
|
||||||
|
create_multiple_boardgame_chart(most_bought_from_artist_statistic_data, 'Artiest waarvan we het meeste hebben gekocht', true)
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue