Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 9d47c76

Browse files
author
Martin Wahnschaffe
committed
Export diagrams to CSV SORMAS-Foundation#2794
enable the export-data module of highcharts. update to Highcharts 8.2.0 and jQuery v3.5.1
1 parent dd787ec commit 9d47c76

8 files changed

Lines changed: 609 additions & 465 deletions

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/dashboard/surveillance/CaseCountDifferenceComponent.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ private void refreshChart(List<DiseaseBurdenDto> data) {
112112

113113
"chart: {" +
114114
"type: 'bar'," +
115-
"styledMode: true," +
116115
"}," +
117116

118117
"series: [" +

sormas-ui/src/main/java/de/symeda/sormas/ui/highcharts/HighChart.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
3-
* Copyright © 2016-2018 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
3+
* Copyright © 2016-2020 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by
@@ -50,10 +50,13 @@
5050
* Based on https://github.com/xylo/highcharts-vaadin7 (Apache 2.0 license)
5151
*/
5252
@JavaScript({
53-
"jquery-min.js",
53+
"jquery.slim.min.js",
5454
"highcharts.js",
5555
"highcharts-connector.js",
56-
"highcharts-exporting.js" })
56+
"highcharts-exporting.js",
57+
"highcharts-export-data.js" })
58+
//@StyleSheet({
59+
// "highcharts.css" })
5760
public class HighChart extends AbstractJavaScriptComponent {
5861

5962
private static final long serialVersionUID = 7738496276049495017L;

sormas-ui/src/main/resources/de/symeda/sormas/ui/highcharts/highcharts-connector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*******************************************************************************
22
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
3-
* Copyright © 2016-2018 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
3+
* Copyright © 2016-2020 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

sormas-ui/src/main/resources/de/symeda/sormas/ui/highcharts/highcharts-export-data.js

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)