From a8632eb8f05c4bd4e37bdc3dceed8142c4c9a5b7 Mon Sep 17 00:00:00 2001 From: Mats Bovin Date: Thu, 14 Mar 2024 12:59:58 +0100 Subject: [PATCH] Update chart configuration --- sbdi/data/config/charts.json | 47 ++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/sbdi/data/config/charts.json b/sbdi/data/config/charts.json index 0739f754..ce1ba7d9 100644 --- a/sbdi/data/config/charts.json +++ b/sbdi/data/config/charts.json @@ -1,11 +1,12 @@ -{ "biocache" : { - "license" : { - "title": "By licence", - "chartType": "doughnut", - "emptyValueMsg": "Licence not specified", - "hideEmptyValues" : true, - "includeOther" : "false" - }, +{ + "biocache" : { + "license" : { + "title": "By licence", + "chartType": "doughnut", + "emptyValueMsg": "Licence not specified", + "hideEmptyValues" : true, + "includeOther" : "false" + }, "month" : { "title": "By month", "chartType": "bar", @@ -21,31 +22,35 @@ "includeOther" : "false" }, "genus" : { - "title": "By genus", - "chartType": "doughnut", - "emptyValueMsg": "Genus not specified", - "hideEmptyValues" : true, - "includeOther" : "false" + "title": "By genus", + "chartType": "doughnut", + "emptyValueMsg": "Genus not specified", + "hideEmptyValues" : true, + "includeOther" : "false", + "filter": "fsort=count" }, "family" : { "title": "By family", "chartType": "doughnut", "emptyValueMsg": "Family not specified", "hideEmptyValues" : true, - "includeOther" : "false" + "includeOther" : "false", + "filter": "fsort=count" }, "assertions": { "title":"By data assertion", "chartType": "horizontal-bar", "emptyValueMsg":"Assertion not specified", "hideEmptyValues": true, - "includeOther" : "false" + "includeOther" : "false", + "growToFit": true }, - "type_status":{ - "title":"By type status (as % of all type specimens)", - "chartType": "doughnut", - "emptyValueMsg": "Type status not specified", - "hideEmptyValues": true, + "type_status": { + "title":"By type status (as % of all type specimens)", + "chartType": "doughnut", + "emptyValueMsg": "Type status not specified", + "hideEmptyValues": true, "includeOther" : "false" } -}} + } +} \ No newline at end of file