neptune/core/templates/partials/sentiment_chart.html

11 lines
365 B
HTML
Raw Permalink Normal View History

{% load static %}
2022-08-28 12:11:30 +00:00
<div style="display: none" id="jsonData" data-json="{{ data }}">
</div>
{% 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>
</div>
<script src="{% static 'chart.js' %}"></script>
{% endif %}