diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-07-31 16:28:31 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-07-31 16:28:31 +0100 |
| commit | 1fd0dd8b28bac19431a8c577ee78ea655882ad82 (patch) | |
| tree | 5345d5070a8a472b50538f05349a27751ef87ffa /app/templates/admin | |
| parent | Add demo data to repo (diff) | |
| download | AnnotateChange-1fd0dd8b28bac19431a8c577ee78ea655882ad82.tar.gz AnnotateChange-1fd0dd8b28bac19431a8c577ee78ea655882ad82.zip | |
Add support for multidimensional datasets
Diffstat (limited to 'app/templates/admin')
| -rw-r--r-- | app/templates/admin/annotations_by_dataset.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/templates/admin/annotations_by_dataset.html b/app/templates/admin/annotations_by_dataset.html index 3885d7f..fd64673 100644 --- a/app/templates/admin/annotations_by_dataset.html +++ b/app/templates/admin/annotations_by_dataset.html @@ -13,7 +13,11 @@ {% block scripts %} {{ super() }} <script src="//d3js.org/d3.v5.min.js"></script> + {% if is_multi %} + <script src="{{ url_for('static', filename='js/makeChartMulti.js') }}"></script> + {% else %} <script src="{{ url_for('static', filename='js/makeChart.js') }}"></script> + {% endif %} <script>adminViewAnnotations( '#graph', {{ data.chart_data | tojson }}, |
