dataviz: set an arbirary max value for gauges without a value (#17120)
This commit is contained in:
parent
819066421e
commit
d32a09c832
|
@ -5,7 +5,7 @@
|
|||
{% else %}
|
||||
data-gauge-count-url="{% url 'combo-ajax-gauge-count' cell=cell.id %}"
|
||||
{% endif %}
|
||||
data-gauge-max-value="{{max_value}}" class="bo-block">
|
||||
data-gauge-max-value="{{max_value|default_if_none:100}}" class="bo-block">
|
||||
<canvas style="width: 100%;">
|
||||
</canvas>
|
||||
{% if title %}
|
||||
|
|
Loading…
Reference in New Issue