32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
{% extends "graphs/graph.html" %} {% block axis %}
|
|
<!-- Axes settings -->
|
|
<section class="col-md-3 order-md-1">
|
|
<div class="h-100 bg-gradient text-light rounded p-3">
|
|
<!-- ------X AXIS------ -->
|
|
<section class="x-axis-details">
|
|
<h3>X-axis</h3>
|
|
<div class="axis-variable">
|
|
{{ form.x_axis.label() }}
|
|
{{ form.x_axis(class="custom-select x-axis-value axis-setting") }}
|
|
</div>
|
|
</section>
|
|
<!-- ------Y AXIS------ -->
|
|
<section class="y-axis-details primary-transition hidden-down">
|
|
<h3>Y-axis</h3>
|
|
<div class="axis-variable">
|
|
{{ form.y_axis.label() }}
|
|
{{ form.y_axis(class="custom-select y-axis-value axis-setting") }}
|
|
</div>
|
|
<div class="aggregate hidden-down">
|
|
{{ form.y_axis_agg.label() }}
|
|
{{ form.y_axis_agg(class="custom-select y-axis-aggregation axis-setting") }}
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</section>
|
|
<!-- End of Axis settings -->
|
|
<!-- Scripts specifically for barchart -->
|
|
<script src="https://d3js.org/d3.v5.min.js" defer></script>
|
|
<script src="{{ url_for('static', filename='graphscripts/barchart.js') }}" defer></script>
|
|
{% endblock axis %}
|