Skip to content

Commit a2ef156

Browse files
committed
Changed the export options and resources for charts so as to not involve a third-party server for image exports.
- Legacy-Id: 11947
1 parent 72757ab commit a2ef156

4 files changed

Lines changed: 24 additions & 0 deletions

File tree

ietf/bower.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"highstock.js",
4242
"highmaps.js",
4343
"modules/exporting.js",
44+
"modules/offline-exporting.js",
4445
"modules/map.js"
4546
]
4647
}

ietf/externals/static/highcharts/modules/offline-exporting.js

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

ietf/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,9 @@ def skip_unreadable_post(record):
700700
"credits": {
701701
"enabled": False,
702702
},
703+
"exporting": {
704+
"fallbackToExportServer": False,
705+
},
703706
"rangeSelector" : {
704707
"selected": 5,
705708
"allButtonsEnabled": True,
@@ -739,6 +742,9 @@ def skip_unreadable_post(record):
739742
"credits": {
740743
"enabled": False,
741744
},
745+
"exporting": {
746+
"fallbackToExportServer": False,
747+
},
742748
"navigation": {
743749
"buttonOptions": {
744750
"enabled": False,

ietf/templates/doc/stats/highstock.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
{% block js %}
88
<script src="{% static 'highcharts/highstock.js' %}"></script>
99
<script src="{% static 'highcharts/modules/exporting.js' %}"></script>
10+
<script src="{% static 'highcharts/modules/offline-exporting.js' %}"></script>
1011
<script>
1112
$(function () {
1213
var chart;

0 commit comments

Comments
 (0)