Added h-index statistic
This commit is contained in:
parent
5c2fdd202f
commit
e8c58e0f7f
2 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const api_url = "http://127.0.0.1:8000"
|
||||
const api_url = "https://api.bordspellen.yarnecoppens.com"
|
||||
|
||||
var all_owned_games
|
||||
|
||||
|
|
|
|||
|
|
@ -465,6 +465,9 @@ async function loadStatistics(){
|
|||
total_collection_cost_statistic_data.result = total_collection_cost_statistic_data.result.toFixed(2)
|
||||
create_basic_statistic_chart(total_collection_cost_statistic_data, 'Totale kost van spellen in bezit', '\u20AC ')
|
||||
|
||||
const h_index_statistic_data = await makeRequest(api_url+'/statistics/h_index')
|
||||
create_basic_statistic_chart(h_index_statistic_data, 'H-index')
|
||||
|
||||
|
||||
|
||||
//Seperate because of multiple data
|
||||
|
|
|
|||
Loading…
Reference in a new issue