2022-08-28 16:39:02 +00:00
|
|
|
{% load static %}
|
2022-08-28 12:11:30 +00:00
|
|
|
<div style="display: none" id="jsonData" data-json="{{ data }}">
|
|
|
|
</div>
|
2022-08-28 16:39:02 +00:00
|
|
|
|
|
|
|
{% if params.index != 'int' and params.index != 'meta' %}
|
|
|
|
<div id="sentiment-container" {% if params.show_sentiment is None %} class="is-hidden" {% endif %}>
|
|
|
|
<canvas id="sentiment-chart"></canvas>
|
2022-08-28 12:11:30 +00:00
|
|
|
</div>
|
2022-08-28 16:39:02 +00:00
|
|
|
<script src="{% static 'chart.js' %}"></script>
|
|
|
|
{% endif %}
|