Skip to content

Commit f3476f8

Browse files
committed
Merge branch 'vue3-migration-2492' of https://github.com/FAIRsharing/fairsharing.github.io into vue3-migration-2492
2 parents 7f0f030 + bc15931 commit f3476f8

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

documentation/html/components_Ontologies_OntologySunburst.vue.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ <h1 class="page-title">Source: components/Ontologies/OntologySunburst.vue</h1>
9898
&lt;script>
9999
import { mapActions, mapGetters, mapState } from "vuex";
100100
import { useTheme } from "vuetify";
101-
import Sunburst from "highcharts/modules/sunburst";
102101
import Highcharts from "highcharts";
102+
import Sunburst from "highcharts/modules/sunburst";
103+
import Exporting from "highcharts/modules/exporting";
103104

104105
//Implement Sunburst module for Highcharts
105106
// check if Sunburst is a function, if not try .default
@@ -109,6 +110,12 @@ <h1 class="page-title">Source: components/Ontologies/OntologySunburst.vue</h1>
109110
Sunburst.default(Highcharts);
110111
}
111112

113+
if (typeof Exporting === "function") {
114+
Exporting(Highcharts);
115+
} else if (typeof Exporting.default === "function") {
116+
Exporting.default(Highcharts);
117+
}
118+
112119
export default {
113120
name: "OntologySunburst",
114121
props: {
@@ -239,6 +246,20 @@ <h1 class="page-title">Source: components/Ontologies/OntologySunburst.vue</h1>
239246
filename: "SRAO-Sunburst",
240247
},
241248
},
249+
exporting: {
250+
enabled: true, // explicit enable
251+
sourceWidth: 1500,
252+
sourceHeight: 1600,
253+
scale: 1,
254+
filename: "SRAO-Sunburst",
255+
buttons: {
256+
contextButton: {
257+
// You can customize the menu symbol or position here if needed
258+
// symbol: 'menu',
259+
// align: 'right',
260+
},
261+
},
262+
},
242263
subjectsArrList: [],
243264
nodeClicked: "",
244265
};

documentation/html/quicksearch.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)